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


Release history Release notifications

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-fbrealtime-0.1.0.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page