Skip to main content

Django app for receiving realtime facebook updates

Project description

=================
django-fbrealtime
=================

A simiple django app to integrate with facebook realtime updates.


Requirements
============
django 1.4 or later

Installation
============

1. ''pip install django-fbrealtime''

2. Add 'fbrealtime' to your list of INSTALLED_APPS in settings.py

3. Add FACEBOOK_API_SECRET FACEBOOK_VERIFY_TOKEN to settings.py

4. Add url(r'', include('fbrealtime.urls')), to URLConf

Use
===
Subscribe to fbrealtime.signals.data_imported signal

from django.dispatch import receiver
import fbrealtime.signals.fb_update

@recciver(fbrealtime.signals.fb_update)
def fb_update_handler(sender, **kwargs):
# update is a dictionary of updates from facebook
update = kwargs.get('update')
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-fbrealtime, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-fbrealtime-0.1.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page