=================
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')
...
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')
...
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-fbrealtime-0.1.0.tar.gz.
File metadata
- Download URL: django-fbrealtime-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93a53544f6d565ef428cb88ace5148f9d44ec3a5cf99d387cff5db630b3b8b90
|
|
| MD5 |
721cee3ffbff7e96ef069da41fb31bb0
|
|
| BLAKE2b-256 |
54eedfe6d61c149b57d2c6c94d594bca5a6493192b5c531b82a898c972e679db
|