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.
Related
I'm trying to develop an app to get my Facebook and twitter notification simultaneously. I can authenticate using Facebook SDK 4.18 and Fabric API for twitter.I can update status and tweet simultaneously. All the reference I've searched so far, some of them are not up to date.
Here (https://developers.facebook.com/docs/graph-api/reference/user/notifications) it is said that(regarding notification)
*
Reading
You can't perform this operation on this endpoint.
*
Will it not be possible to get Facebook notification?
I understand the reason why I can't get notification. I've used Facebook SDK for making a thirdparty app. If Facebook give me permission to read the notifications, it becomes a privacy issue. So I can only post status on behalf of the app but can't get notifications.
I am building an android blog app which requires an admin app to control and post and a client app, only to receive posts and notifications.
I have implemented the send notification part in admin app, (without any server code) but the notification only shows up in the admin app not the client app. I want that whenever a post is created, the client receives the notification.
How can I do this?
I am using Quickblox Android Chat SDK for my chat module. I have implemented whatever the process stated in Quickblox Site. I was able to register,login and creating session to the Quickblox programmatically and able to chat and chat history successfully. I got struck for some users, I am not able to chat as I am getting 422 error "'{"errors":{"base":["No recipients. At least one user should be subscribed for GCM (Android Push) (through SDK or REST API)"]}}'". But for some users, I am not facing any problem. Please suggest me the solution for this problem.
In means that a user doesn't have a push subscription, so he can't receive pushes
follow this guide to subscribe a user to receive push notifications http://quickblox.com/developers/SimpleSample-messages_users-android#Giving_a_user_a_Push_Notification_subscription
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?
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.