Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vladistan/kontagent-python-client-library
Python client library for Kontagent
https://github.com/vladistan/kontagent-python-client-library
Last synced: 26 days ago
JSON representation
Python client library for Kontagent
- Host: GitHub
- URL: https://github.com/vladistan/kontagent-python-client-library
- Owner: vladistan
- Created: 2010-09-01T10:09:07.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-01T10:23:41.000Z (about 14 years ago)
- Last Synced: 2023-03-11T07:12:27.733Z (over 1 year ago)
- Language: Python
- Homepage: http://www.kontagent.com/
- Size: 104 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
== Kontagent Python Client Library ==
Please see help(kontagent) for documentation.
For generic use of the Kontagent Analytics API, the AnalyticsInterface
class is what you need to use.Please see:
http://developers.kontagent.com/reference/api-documentation/facebook-rest-server-api
for detailed information on the parameters needed for each call to the API.== Django ==
If you are using Django, the middleware is:
'kontagent.middleware.KontagentMiddleware'You need these settings in your settings.py:
FACEBOOK_APP_NAME = "yourapp"
FACEBOOK_CALLBACK_HOST = "http://your-server.ca:10000"
FACEBOOK_CALLBACK_PATH = "/fb/canvas/"
KONTAGENT_API_SERVER = "test-server.kontagent.com"
KONTAGENT_API_KEY = "XXXXXXXXXXXXXXXXXXXXXXXXXXX"FACEBOOK_CALLBACK_HOST + FACEBOOK_CALLBACK_PATH should be the
same as what you entered as your app's callback in the facebook
developers app.FACEBOOK_APP_NAME should be what you entered as your app name.
If you are using pyfacebook, include the Kontagent middleware before
the pyfacebook middleware (pyfacebook may redirect in certain casses
and strip necessary tracking parameters from the URL).