Getting Facebook Notification in android app - android

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.

Related

Messaging friends in facebook using graph API2.0 using Message dialog cordova

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,

Fetching facebook notifications in android app

I am creating an android application for fetching Facebook notifications. Here, once the user is logged in, I want to fetch the user's Facebook notifications and display them in my application.
How is this possible?
I saw a sample code in developers.facebook.com, but it requires manage_notifications permission. I am confused about adding that permission.
When i run the application, I got this message in my log:
an active access token must be used to query information about the current user.
How to fix this ?

How to send Request in android facebook 3.5 api?

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.

Sending android app notification to facebook using facebook API Notification

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.

Changing the permission for android facebook app

I have a Facebook app which was working fine till some time back. From past few days i am not able to get the notifications. i get a response saying permission is required. I wonder i was able to get the notifications earlier,if i didn't have the permissions. Is it that the facebook has changed their api. I am using the rest api for notifications.

Categories

Resources