You must first create a Singly app at https://singly.com/apps
Enter the client ID and client secret you are given in a file named secrets.py (by modifying secrets.py.template)
If you are just testing, you can now run from a command line
An error is expected. Copy and paste the authenticate callback URL into your
browser, and authenticate twitter. Copy and paste the URL you are redirected to
MY_CODE_URI in your secrets.py. Run
python singly.py again and you should see
raw json data returned in the terminal.
For this library to work in production, you must set up MY_AUTHENTICATE_CALLBACK to redirect to the authenticate callback URL, and then you must listen for a response at your local callback URL (by default http://localhost:9999, set in the Singly object's initializer) and return the URL w/ code from within MY_AUTHENTICATE_CALLBACK.
License: See UNLICENSE.md