{ "info": { "author": "espacioAntonio", "author_email": "espacio.antonio@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Communications :: Chat", "Topic :: Internet :: WWW/HTTP :: WSGI" ], "description": "===============================\nFacebook Messenger Bot : fbbot\n===============================\n\nfbbot is a simple Django app to showcasing the Messenger Platform, make your facebook bot with django\n\nQuick start\n------------\n\nNote. If yo don't have a https server and domain. For development purposes I use NGROK, a good \"Secure tunnels to localhost\" service ( url:https://ngrok.com/ )::\n\n > Download ngrok binary https://ngrok.com/download\n > execute ./ngrok http 8000\n > Copy url like '12345678.ngrok.io'\n\n1. Clone this repo and install the requeriments::\n\n git clone https://github.com/espacioAntonio/Django-messenger-platform-bot.git\n cd Django-messenger-platform-bot\n pip install -r requirements.txt\n\n2. Add your valid settings in ./fbbot/settings.py::\n\n FB_PAGE_TOKEN = \"FACEBOOK_PAGE_TOKEN\"\n FB_VERIFY_TOKEN = \"VERIFY_TOKEN_DEFINED_BY_DEVELOPER\"\n REAL_URL = \"URL_PROVIDED_BY_NGROK\" #example: 12346578.ngrok.io or www.yourdomain.com\n\n3. Run::\n\n python manage.py runserver 8000\n\n4. Suscribe your new webhook in your Facebook App::\n\n WEBHOOK\n URL Callback: https://YOUR_REAL_URL/fbbot/webhook\n Verify Token: \"VERIFY_TOKEN_DEFINED_BY_DEVELOPER\"\n\n5. Visit http://127.0.0.1:8000/fbbot/webhook and see \"Hello World, webhook enable\" message.\n\n6. Send a message to your facebook page or send this messages::\n\n image\n gif\n audio\n file\n button\n generic\n receipt\n quick reply\n read receipt\n typing on\n typing off\n account linking\n\nIntegrate this app with your Django App\n----------------------------------------\n\n1. Install the django-fbbot package with python-pip::\n\n pip install django-fbbot\n\n2. Add your valid tokens in your settings file mysite/settings.py::\n\n FB_PAGE_TOKEN = \"FACEBOOK_PAGE_TOKEN\"\n FB_VERIFY_TOKEN = \"VERIFY_TOKEN_DEFINED_BY_DEVELOPER\"\n REAL_URL = \"URL_PROVIDED_FOR_NGROK\" #example: 12346578.ngrok.io or www.yourdomain.com\n BASE_URL = \"https://\"+REAL_URL\n\n3. Add \"fbbot\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = [\n ...\n 'fbbot',\n ]\n\n4. Include the fbbot URLconf in your project urls.py like this::\n\n url(r'^fbbot/', include('fbbot.urls')),\n\n5. Run `python manage.py collectstatic` to collect files to test.\n\n6. Start the development server and visit http://127.0.0.1:8000/fbbot/webhook\n\n7. Visit http://127.0.0.1:8000/fbbot/webhook and see \"Hello World, webhook enable\"\n\n8. Send a message to your facebook page or send this messages::\n\n image\n gif\n audio\n file\n button\n generic\n receipt\n quick reply\n read receipt\n typing on\n typing off\n account linking\n\nUninstall\n--------------------------------------------\n\n1. If you want to uninstall this package run::\n\n pip uninstall django-fbbot\n\n2. Remove \"fbbot\" in your INSTALLED_APPS setting::\n\n INSTALLED_APPS = [\n ...\n 'fbbot',\n ]\n\n3. Remove the fbbot URLconf in your project urls.py::\n\n url(r'^fbbot/', include('fbbot.urls')),", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/espacioAntonio/Django-messenger-platform-bot", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-fbbot", "package_url": "https://pypi.org/project/django-fbbot/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-fbbot/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/espacioAntonio/Django-messenger-platform-bot" }, "release_url": "https://pypi.org/project/django-fbbot/0.1/", "requires_dist": null, "requires_python": null, "summary": "fbbot is a simple Django app to showcasing the Messenger Platform, make your facebook bot with Django", "version": "0.1" }, "last_serial": 2843147, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "608fa66991120eae1ebe692ba8362cae", "sha256": "bc11ca4b8ce3456adf4ee4af0f640876638403c5cba32f2a5c2bfcc327ac66e4" }, "downloads": -1, "filename": "django-fbbot-0.1.tar.gz", "has_sig": false, "md5_digest": "608fa66991120eae1ebe692ba8362cae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3685786, "upload_time": "2017-05-01T20:17:29", "url": "https://files.pythonhosted.org/packages/94/8b/b9ec0d5e53edd451b5c4bdbc589c55409b3b31d79ed0a182df9a7c5fc6bb/django-fbbot-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "608fa66991120eae1ebe692ba8362cae", "sha256": "bc11ca4b8ce3456adf4ee4af0f640876638403c5cba32f2a5c2bfcc327ac66e4" }, "downloads": -1, "filename": "django-fbbot-0.1.tar.gz", "has_sig": false, "md5_digest": "608fa66991120eae1ebe692ba8362cae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3685786, "upload_time": "2017-05-01T20:17:29", "url": "https://files.pythonhosted.org/packages/94/8b/b9ec0d5e53edd451b5c4bdbc589c55409b3b31d79ed0a182df9a7c5fc6bb/django-fbbot-0.1.tar.gz" } ] }