Is there a way to get the hometown and gender of users who comment on a specific Page Post, using the facebook graph API or any other?
More precisely, when I do extract comments on a Page Post with Graph API, it shows me all the IDs of Users who had posted comments. But I need also hometown where they live in order to assign the results of Sentiment Analysis to each city.
GET /v2.6/{PageID_PostID}/comments?fields=from&limit=150
so far as I know Twitter API has such a possibility (using Python’s Tweepy library), but is it possible to extract such a data from Facebook?
I appreciate any help you might have.
Vahid
That´s not possible, you even need an extra permission to authorize a user in order to get his hometown, and you can´t get the gender without authorization either.
Related
I want to get data from my facebook page posts such as likers names, number of likes, number of comments and global info about my account like the list of users liking my page, ...
I am a bit lost with the Facebook-Graph-API website because there are a lot of packages like Business SDK, Marketing API SDK, Pages API, ...
If someone has an idea of which API it would be very helpful !
Additional question : is it possible to use the facebook graph API with python ?
Thanks
Current Facebook Graph API does not allow you to access personal information about users so you won't be able to get the names of people liking your page or your posts.
I try to get the comments of a post from a group that I am a member (only member) and that by the way, the group is closed, but it does not return anything ..
I try it this way: {postid}/comments
I really do not know if you're allowed what I'm trying to do. What if you let me get is information about the videos that have been posted in the group.
I have never used the Facebook API before, so I know very little about the topic.
If I remember right facebook api allows you to programmatically access content of only public groups. To get data from private/closed groups you need to be admin, as user #WizKid pointed out
I am trying to get ids and names of all users who liked the public page called LeEcoGlobal. I tried on developers.facebook.com/tools/explorer by adding different field names and seemed like I can not get access to those information. Just wonder is there any way I can do that or Facebook just do not allow us to do things like that?
BTW, I can get all the user by searching "people who like LeEco" on Facebook, just do not know how to get all those data.
Thanks!
I am having a baby soon and I want to give him a unique/relatively less known name from my country. I want to get all names on facebook for a given country (say India) and then find 1000 least common names. I am not able to determine if Facebook API allows me to do this. Can someone suggest which APIs I should look at?
If it is not possible in FB, is it possible in any other social network?
Thanks.
The Graph API. Although I think Graph API takes reference from a user and then search in his friends only or if he/she has a page then in their followers only. The users which are not connected to the user can not be accessed. I've never seen a function which can return all users or their userIDs.
Edit:-
Ok I've found that you might need the Open Graph API and the Action Types, but their's no Action type for country.
This isn't possible. The closest you can do is an FQL query on the name table
SELECT name FROM user WHERE contains('user763410baby')
I am using django-social_auth to make users register and login via facebook. I want to access the phone number of the user.
Tried searching on google and stackoverflow , but didn't find any answer. Searched the facebook docs as well. There I found that there used to be permission for 'user_mobile_phone' but it has been removed.
It was also written than now it will be provided with basic permissions but it wasn't available(what I found).
I tried using Graph API, but was unsuccessful.
So, Someone please tell me the way ,if there is any, to get user data.
EDIT:17 June 2014 -
Is this possible now to get User's Mobile number via the Graph API ?
The API does not let you access the user's contact number. You will have to request the user's contact details manually using a form.