I am making an android application in which I have to send request to friends of user.
I am using following link https://developers.facebook.com/docs/android/send-requests/
it is working correctly it show dialog with friends allows selecting people and sending request. but request is not received on receiver end.
Can any body help me it will be really helpful.
People can see the received request with notification only if they have the same app installed on android device and facebook application is also installed there. If you do define canvas for your app and put some content there, then request notifications will be shown in the facebook web page.
Still, even if canvas isn't defined you should see the request appears in the App Center tab.
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 trying to integrate Parse with Sinch using the source code in Github. Everything works fine as long as the user is signed up using the Android API ParseUser.signUpInBackground(). However when I create a Parse user using Parse's website, I am unable to send messages to the newly created user. I am getting an error "User does not exist". This happens too if the user has signed up using Facebook and Twitter. I also observed that when you do a login to the newly created user then the issue is gone.
This is because sinch doesnt know about that user yet, you need to login in an app and start the client once so sinch know where to send messages and incoming call notifications.
I am currently developing an app which includes fetching facebook friends(all) and messaging them individually through facebook. I tried the openFB and successfully got it working but.
facebooks new graph API does not provide friends list(its just provides friends using the same app)
me\tagggable_friends gives me list of all the friends with a token, which can be used to tag them in any stories.
these I cant use for sending messages to individual facebook friends.There is a message dialog they are saying for IOS.Android , and a send Dialog for websites, because I am using cordova I need to use the send dialog, It's not working in mobile device
Anyone implemented this in any app, Please share your thought on this I am kind of stuck ,feels like facebook integration for this app is now useless unless I can implement the messaging feature
Thank You,
Hi I want to send notifications from android app to facebook. To send facebook notification i got this link : https://developers.facebook.com/docs/concepts/notifications/ But i am not sure how to use this link in android to send notification.
Please can any body guide me for this?
You can't send notifications from an Android app. Tried to POST using the link you provided and got the following error:
{"error":{"message":"(#200) Only web canvas apps can send app notifications","type":"OAuthException","code":200}}
Maybe you could use this one:
https://developers.facebook.com/docs/android/send-requests/
We're not allowed to send notifications from Android app using the notifications API, nor sending App Requests from non game app using Requests APIs. I'm interested too to know how can we notify the user from non-game-android app.
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.