Coder Social home page Coder Social logo

facebook-followers's Introduction

This simple python script will list out all people the user is currently following, given the token has required permission (i.e. read_stream). "Following" people includes;
- Friends (unless explicitly 'Unfollowed')
- Users who you've sent friend requests to
- People you're following

In short, the list includes people whose public feeds appear on your newsfeed.

Since Graph API version 2.0, one cannot list out all of a user's friends, even with user_friends permission. The endpoint me/friends only includes friends who also use the app, and who has also granted user_friends. Therefore, it's, now, not possible to list out all of a user's friends, in any way.

This script, however, helps list out people you're currently following, which also includes your friends. So, in some way, it lists out all of a user's friends ;)

Someone may find it useful, I hope.

TIP:
If you're not aware of API calls, don't worry. You only require an access token, which you can instantly generate via https://developers.facebook.com/toosl/explorer

There, you can find a "Get Token" button, click it, a dialog appears (as shown). Click "Extended permission", tick read_stream, and click "Get Access Token". Proceed through following dialogs, and a token appears right in the "Access Token" field.

Usage: python followings.py <access_token>

facebook-followers's People

Contributors

1lastbr3ath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

shazada-shariar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.