I've integrated the Facebook SDK for android for an app. When a user receives the app invite there's a big "Install Now" button that will link them to the google play store. The problem is even if the user already has the app installed if they open up the Facebook invite the button still says "Install Now" instead of "Open" or "Play". The iOS version does this. The reason why this is necessary is because otherwise the app has no way of receiving the custom app link sent in the invite. Am I missing something? Or this a bug in Facebook?
I've redacted a bunch of stuff, but this is the button that I think should be changing.
It looks like the app link even works if the user goes to the app through the Google Play store, awesome!
Related
I am a newbie to the android, I would like to know if there is an option to know how many people installed my app via others invitation.
What I mean is that lets say I installed the app and send some URL to my friend to download this app also.
Now after he/she download this app he/she send an URL for their friends , and i would like to know how many friends of mine installed this app.
Is it possible to do it via code?
You can achieve this without writing any code. Just share your build through Beta by Fabric.
You can setup Fabric for your project manually or automatically(through a plugin):
https://docs.fabric.io/android/fabric/overview.html
This is instructions on how to distribute builds:
https://docs.fabric.io/android/beta/beta-walkthrough.html
To get a link to the build:
Go to Fabric dashboard.
Choose your app.
Click Beta(on left panel).
Click Share links.
Generate link.
After each installation through the link(by your friends) you will get an email. Also, you will get a daily summary of installs.
And you can find statistics about new installs on Fabric dashboard.
The problem is that when a post is shared using the Facebook App, the callback will always return {"cancelled":true}. That means that there is no way for our app to know if the user really shared the post or cancelled it. This is problematic as in the game, players are rewarded for sharing posts.
This issue has been acknowledged by the Facebook Team for more than a year now but they still didn't fix it.
Link to facebook dev bug thread: https://developers.facebook.com/bugs/598200610227965/
However if the Facebook App is not installed on the iOS/Android device, the Unity Facebook SDK will pop up a login/share notification in front of the app and its callback actually works so we are able to confirm a share.
My question is: Is there a way to force the app to call the popup notification instead of the Facebook App even if it is installed on the device?
Using: Unity 4.6 with Unity Facebook SDK 6.1
How do I track App installs?
I have created few ads on facebook mobile and am getting quite a few clicks. The users are installing the app.
I wanted to know how we can track if the user really install the app after clicking the ad on facebook mobile.
I am able to track installs on Google Play Console.
Also does facebook android API gives me an option to track the user install (along with ad id)?
Any help is appreciated.
Yes, the Facebook SDK allows you to report when a user opens your app and those events are tracked as install events the first time a (Facebook) user opens your app
Documentation is here: https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads/#advanced
Example to report an app launch / install, once you've integrated the Facebook Android SDK is:
com.facebook.AppEventsLogger.activateApp(context, YOUR_APP_ID);
In the onResume() method of your app's activities
You'll then see the installs in Facebook's Insights dashboard
When I invite friends from my application, they got a notification on Facebook saying I invited them to my game. However, when they click on the notification they got a error saying: "The requested page can not be displayed right now...". Could the reason be that the application is not published on google play or app store yet? If not, any suggestions?
The problem will be in your application registration on Facebook developer site. The invite button should show a notification to the user, this notification should be linked with your application URL on Google PlayStore. The problem will be in this part. Make sure you are typing your app link correctly
Here is a useful link for Facebook registration API
In my situation there was problem with facebook app settings.
I had only android application registered on facebook and "Single Sign On" filed was off.
Then I changed it to "Yes" value. Problem solved.
Marked area with red in image shows that field.
It has to be set to "Yes" if you want recieper to open when cliking on requets notifation on android device.
I'm building a native Android app for a client and one of the areas of the app allows the user to post their score from a quiz to their Facebook wall. This app is on devices that are handed out to the public and not on their own person device. The problem is that the Facebook login page has a link to Google Play that says "Get Facebook for Android and browse faster". When tapping this the user is bumped out of the app to the Market. I need to keep people within the app. Giving the user the ability to enter Google Play and download the Facebook app or any other app is not going to work.
There's the added problem that the device has a protective casing that covers the hardware navigation buttons. So the user doesn't have access to the back button to return to the app.
Any ideas if how to get a modified login page?