I have explored Facebook Graph API explorer where I can get information regarding Users , pages and groups.
I find many things to get from graph API, but I didn't find field to get Member requests.
What I need to get details about join requests and answers of questions I asked from them before joining.
I can get these data by using scraping tool but I need to get the data using API.
Could you please let me know the way I can get the details from API or have button on group that can let me export?
Related
Does either the Instagram Basic Display API or the Instagram Graph API allow me to simply get any public user's posts/media programatically? Everywhere in the documentation it says "User data" but it feels like I can only get data of the user that got authenticated using the API. I've set up a Facebook dev account and currently spending 4th hour on calling both APIs without success. Can anyone who has used them help me clear this up?
Most likely, Instagram API Date 365, a tool I currently work for, may help you as an alternative to using Instagram Basic Display API or the Instagram Graph API because this API is created especially for scraping bulk data about posts and users.
You can get such post data as post content (text, language, list of hashtags, list of tagged users), owner ID, location ID,
engagement info, etc. Also, it is possible to download comments (selected or on a specific post) and replies to them.
You can view this for more info.
I'm using Facebook graph Api to search users and data that i get is kinda different from that i get from Facebook UI. For example search response of User interface is friends, mutual friends and other related data in first. How can i query to get related data for current user ( i.e friends and mutual friends in first place).
Here is query that i'm using to search users.
https://graph.facebook.com/v2.5/search?fields=id,name,picture.type(normal)&limit=50&q={q}&type=user&access_token={token}
and data that i get is kinda different from that i get from Facebook UI
That’s because those are two completely different things.
The search functionality offered via the UI is called Graph Search. But the powerful possibilities that offers are not exposed via API. (To protect user privacy, and keep apps from doing extended user profiling via that data.)
Searching via API is limited to what is listed here: https://developers.facebook.com/docs/graph-api/using-graph-api/#search
That’s not much – but it’s all you get.
I am doing some proof-of-concept with Facebook SDK and Graph API to list user's posts using the /me/feed. I am unable to find a reference where I can see the list of possible options that can be passed as parameters.
For example, how can one find only those posts that are made within a specific time range? or how to retrieve only public posts shared by the user>
Could someone please help me by listing all the possible filters?
For getting data in a specific time range, take a look at time based cursors: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.6#paging
/me/posts would be the endpoint to get posts shared by the user only. It´s explained in the links you posted.
I have a Facebook Page. I am trying to get the Non Expired 'Offers' that exist from the Pages that my Page Likes.
This is what I use to get all the offers (Including Expired):
GRAPH GET (2.5): /210111832375724/likes?fields=offers
(210111832375724 is my page ID)
I have used 'since(now)', but it failed. It seems to work for events, but not offers.
I could just get all offers and then use my software to select ones that haven't expired, but thought I would see if there is a better solution.
Following the Facebook docs, I don't see another possibility then to filter the "valid" ones from the Graph API call's response. There is currently no general way to filter results in the Graph API.
See
https://developers.facebook.com/docs/graph-api/reference/page/offers/#Reading
https://developers.facebook.com/docs/graph-api/reference/v2.5/offer
Using Facebook Graph API, for group posts, we were able to retrieve the data for comments and likes. Now with the introducing of Seen By info on group posts, there seems no API exposed to get the Seen By data yet, or there is? We are not able to find that info with documentation at https://developers.facebook.com/docs/reference/api/post/.
As #Tommy Cursh suggested, currently there is no API available to get the Seen By data programmingly. Hopefully Facebook will provide it someday soon.