https://github.com/csko/pyfriendlists
Python tools for managing Facebook Friendlists
https://github.com/csko/pyfriendlists
Last synced: 11 months ago
JSON representation
Python tools for managing Facebook Friendlists
- Host: GitHub
- URL: https://github.com/csko/pyfriendlists
- Owner: csko
- License: gpl-3.0
- Created: 2012-07-10T20:13:15.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-07-11T14:35:00.000Z (almost 14 years ago)
- Last Synced: 2025-03-12T15:36:15.449Z (over 1 year ago)
- Language: Python
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Facebook Friendlists Manager written in Python
===========
A library and command line toolkit for managing your Facebook friend lists. The friend lists are managed as sets so you can apply the well known set operations(union, intersection, difference, etc.) on them.
The library uses the [Facebook Graph API](https://developers.facebook.com/docs/reference/api/) to access and manage your [FriendLists](https://developers.facebook.com/docs/reference/api/FriendList/). Friends are added and removed using [Batch Requests](https://developers.facebook.com/docs/reference/api/batch/).
Requirements
------------
- Python2
- [pyFaceGraph](https://github.com/iplatform/pyFaceGraph/)
Usage
-----
1. [Authorize the FriendList Manager app](https://graph.facebook.com/oauth/authorize?scope=read_friendlists%2Cmanage_friendlists%2C&redirect_uri=http%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html&type=user_agent&client_id=278567538917990) so that the scripts can access and manage your Friendlists.
2. Insert the OAuth Access token in ``friendlists.py``. You can find it as
part of the URL of the 'Success' page after you authorize the app.
3. See ``friendlists.py`` for example usage.