Skip to content

pozytywnie/facebook-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facebook-notifications

Implements sending notifications to Facebook using Notifications API.

https://developers.facebook.com/docs/app_notifications/

Installation

$ pip install facebook-notifications

Usage

Here is an example:

notification = notifications.Notification(recipient_id, target_url, message)

token = facepy.get_application_access_token(settings.FACEBOOK_APP_ID,
                                            settings.FACEBOOK_APP_SECRET)
graph = facepy.GraphAPI(token)

sender = notifications.NotificationSender(graph)
sender.send(notification)

About

Django application for sending Facebook notifications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages