I need to implement Facebook Requests logic to my app. It should work this way:
1. user sends request to his friends via Facebook dialog
2. when any of them tap the notification inside Facebook app Notifications tab it navigates him to the app with Intent containing any parameters. If the app isnt installed - the Play Market page of the app is opened.
I have already implemented the code, but still when I tap on the notification - nothing happens.
I am pretty sure the problem is with app's settings in Facebook so-called App Dashboard. But the documentation is very hard to understand, at some places there are out-of-date screenshots and names...
Help please to set up the app.
Related
I am implementing facebook functionality on my Android game. Registered app on facebook. Everything works normally.
But when I send request open GameRequest dialog, select friends and send. On request I get success and request id. But on recipient side does not shows up any request or notification (On facebook desktop).
What I do wrong?
I implemented code as following. Has created requestDialog on start as document says.
GameRequestContent content = new GameRequestContent.Builder().
setTitle("Title").
setMessage("Content").
build();
requestDialog.show(content);
I want to ask to own question.
As I was explaining above everything was implemented rightly.
Facebook Game Request doc says:
"On the Facebook desktop site, requests appear as a beeper pop-up in the lower left of the screen as well as in the notifications jewel. On mobile platforms requests will surface within the list of notifications in the Facebook App."
But nowhere it metioned that if you have only android app configured in Facebook it will show notifaction only on Android Facebook app not in Facebook destkop site.
But when I looked notifiaction bar on Facebbok app then saw that game request does appear Facebook App.
Consider this not described future when developing.
I reported this issue on Facebook as Bug (report link) and got positive feedback saying:
You are right, that could definitely be improved. We do specify that:
Invites that are sent by the player will appear on whatever
combination of platforms supported by your game.
but only in the section "Invitable Friends API". Not very easy to
find.
I've assigned this bug to the documentation team to state it more
clearly.
Thanks for reporting this, Domenico
Updated:
After days they solved problem added following sentences:
Your implementation of requests should therefore be platform-agnostic
and should provide a consistent user experience, regardless of
platform. However, invites that are sent by the player will appear on
whatever combination of platforms supported by your game.
Related other problem
Beside I want to share additional information. You can face with this problem too.
To let recipinet to open android application clicking on game request notifiaction - You have to set "Yes" option on Android application setting in facebook app as shown in image below. (This is under Android settings in facebook app).
Otherwise you will see The requested page can not be displayed right now ...
I have a application and i have facebook page for the same.now whenever a user clicks on Use app(call to action) button on android device whether it is facebook android app or user is logged in from browser I need to open my app installed in user's phone.
I have searched so much but came across some old posts as facebook has introduces applinks.org meanwhile.
So I am not getting how to do this thing.
When you're setting up the Call To Action button on your page, you need to select App:
Then you will fill in a URL using your app's custom URL scheme in the Deep Link box (that's what actually launches your app on the visitor's device), and the package name of your app in the Package Name box (I believe Google uses this for verification purposes).
If you haven't set up a custom URL scheme yet, this Facebook docs page explains how. That will take care of opening the app (myApp://), but if you're wanting to go to a specific piece of content (myApp://path/to/content), then you also need to follow these directions.
Yesterday I logged in to Airbnb with my Facebook account on my OSX. Shortly later I got a notification both on my iPhone and computer saying
"Airbnb is available to install on your iPhone"
My question is, does anyone here know how this was done? Is this a feature available to anyone who creates Facebook login? Any advice on how this was done is well appreciated.
Sincerely
Axel
I bet the notification is sent to you by Airbnb, right? If so, it's pretty easy to do. You give your facebook account information to Airbnb by login with facebook in there webpage. Then they just send a graph api request to facebook with your authorization access token, and you get an notification. For details you can refer to doc here: https://developers.facebook.com/docs/games/notifications
I found out what I was talking about. Facebook is adding a new feature which ask users if they want to get a link to the mobile app.
This is in Beta right now but you will automatically eligible for the feature if:
You have integrated the new Facebook Login on your website. You must be using at least version 2.0 of the Graph API and Login Dialog. Send to Mobile is not available for apps which invoke the Login dialog using Graph API v1.0.
You have integrated Facebook Login into your iOS or Android app. The "Single Sign On" switch within iOS and Android section of your app's dashboard must be set to "Yes"
Added your iOS App Store ID and/or the Android package name under which your app is listed in Google Play to your Facebook app's dashboard.
https://developers.facebook.com/docs/facebook-login/send-to-mobile
When I send an invite request from my app to facebook friend it gets received to the friend. But when the friend taps on the request from notification jewel in facebook android app it always opens a facebook url( This is canvas url). It never redirects to play store. The behaviours are as follows:-
When app is installed and the request is tapped it opens the app. (This is expected behaviour and is happening).
When app is not installed and the request is tapped it opens the canvas url.(The expected behaviour should be to open the play store of the app).
I have tried all combinations in app settings on facebook. But I am unable to get the expected behaviour.
In the request dialogue I set, title, message. Am I missing something in the request parameters or am I missing something in the app settings which might have been added recently?
I solved this after googling. We need to add mobile site url as a platform on facebook app settings. This would enable redirection to google play store. This might be an issue in facebook.
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?