Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 995
user.rok69 Avatar asked Apr 22 '13 12:04

user.rok69


People also ask

How do I get Facebook push notifications on Android?

Go to your device settings. Tap Apps & notifications. Tap Facebook, then tap Notifications. Turn on or off notifications from Facebook.

How do I send notifications from a website to my Android app?

For sending Notification to any android Device you can use two technology: 1) Push. 2) Pull. For Push Technology you can use GCM(Google cloud messaging). For Pull Technology you can make you application continuously keep on connecting to server and trying to fetch data if it is available from there.

Does Facebook allow API?

The Facebook API allows your app — and your app users — to access and manage content in their Facebook Group. With this API, you can let people publish content from your app to their Group.


1 Answers

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/

like image 156
Spiri Avatar answered Nov 14 '22 23:11

Spiri