I had successfully made my android app invite friends ; refer to :
https://developers.facebook.com/docs/games/requests/v2.0
WebDialog requestsDialog = new WebDialog.RequestsDialogBuilder(ctx,s, params).build();
requestsDialog.show();
The Notification I sent to friends appear to be: "APPNAME:SENDER sent you requests."
But there are one case that i am not creating a game and i just want the invitation to invite friends to try the apps.
Apparently there are not only one type of facebook invite we can receive.
These are few notification i can see in my android facebook
APPNAME: SENDER sent you requests (this is result what developers.facebook document guide lead to)
SENDER invited you to play APPNAME.
SENDER invited you to try APPNAME. (this is what i intend to get)
How can I generate 3rd type of notification in my android app using java?
Related
i've to implement the scenario described below
for example
app allows users to login through facebook in app. now in app i want
to select any register user(from all users) and send message directly
from app to that specific person in facebook messenger automatically.
without going into messenger app
is it possible in android or not ?
if it is possible then please guide me how can i implement this. ?
thanks
You can't pass a specific message that is not allowed by Facebook Platform Policy and privacy. But you can pass uri to the intent like Uri uri = Uri.parse("fb-messenger://user/user_id");
Is there a way to get number of invites that were sent using the facebook on android.
Here is a use case, I want the user to invite at least 3 friends. Doing so will unlock a feature.
How do I get the number of app invites sent.
In my android app, I wish to allow user to invite friends from different social platforms. User already can invite friends from Facebook, VK, from his contacts list on phone, but I can't find way to send invite message to Google+. Is this really possible? Or maybe I can send message somehow using google_id?
I don't need to post on my wall.
Take a look at this link.
There is a setRecipients method, which allows you to share it only with a few persons. It's not the same as private messaging, and it will appear on the wall (only for you and those persons), but it looks like G+ is supposed to make it this way.
I'm new to Facebook Android SDK 3.6.0. I made a new facebook app for my android application and sent app invitations to some of my friends. then I noticed that some people don't receive my invitation. even if they receive my invitation, they don't get any notification but the invitation is there on the https://www.facebook.com/appcenter/requests page. So can anyone explain me the reason for this? i used HelloFacebookSample to create login, share and invitation sending parts.
Well I've found something. People those who already connected with "Facebook for Android" gets my invitation as a push notification on the notification bar. Others receives it as a normal invitation on their facebook requests page.
I have integrated FacebookSDK to my Android application and I would like to perform an invite action on my Android app.
I have tried following the following two links to have my application successfully login via facebook and send application requests to my friends with a preview available before sending out:
https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/
https://developers.facebook.com/docs/howtos/androidsdk/3.0/send-requests/
However, for other platforms like facebook mobile and desktop website, notification is not shown. Notification is shown only on Facebook for Android.
By viewing app requests on Desktop website, the message passed by the following code cannot be seen:
params.putString("message", "Let us watch \""+node.getString("movieName")+"\" together");
Only showing "someone" invited you to try "myApp".
Should any code added in addition to the code on documentation to enable the message and notification shown on all platforms.
Thanks a lot.