Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bnookala/lebanon


https://github.com/bnookala/lebanon

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

Startup:
1. pip install -r requirements.txt
2. chmod +x run_server.sh
3. ./run_server.sh

1. Login
https://developers.facebook.com/docs/javascript/examples#login

2. Retrieve current profile photo
https://developers.facebook.com/docs/graph-api/reference/user/picture/

3. Overlay lebanese flag
some javascript + canvas???

4. upload photo
https://developers.facebook.com/docs/graph-api/reference/v2.5/album/photos

(can’t be done programatically afaict):
5. redirect user to page allowing them to make photo their profile photo: i.e.: https://www.facebook.com/photo.php?fbid=10153431767839877&makeprofile=1