Authorizing an application to get facebook friends using python facebook api

So, I examined this question dedicated to my problem: Facebook Graph Api v2.0 + - / me / friends returns empty space or only friends who also use my application

I am confused about application and application permissions. I am basically trying to do the same, but in a python script I want to execute from the command line.

String in my code

friends = graph.get_object('me/friends')

It only returns three people in the list of my friends along with the total number of friends, and I understand this because it only returns those users who allow my application. What I'm confused about is that this "application" refers exactly. Can someone explain what this means, how permission is allowed and why "friends" return two people when I never asked permission from anyone?

Also, for my GUI API access token, I only requested user_friends

thank

+4
source share

Source: https://habr.com/ru/post/1669155/


All Articles