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.

Source Distribution

django-fbrealtime-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file django-fbrealtime-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-fbrealtime-0.1.0.tar.gz
Algorithm Hash digest
SHA256 93a53544f6d565ef428cb88ace5148f9d44ec3a5cf99d387cff5db630b3b8b90
MD5 721cee3ffbff7e96ef069da41fb31bb0
BLAKE2b-256 54eedfe6d61c149b57d2c6c94d594bca5a6493192b5c531b82a898c972e679db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page