I am already creating facebook posts via the graph api and this works good. In the documentation I can read that I could send a place id to tag the location for the post.
The problem is, how can I get the place id? Is it possible to make a call via search and a location name to find a place id? Or is it possible to find the place id manually via facebook?
Thanks for your help.
Related
I am seeking an answer regarding Facebook Graph API.
How to know if a page is deleted by the user? Can we call some endpoint and see if a new page was added or atleast if the user deletes the page we can make a call and know.
I dont want to call me/accounts and then go through all the pages and then find which one match and which one doesn't and then finally sync my local data.
Thought there might be an easy solution.
Thanks
I am trying to retrieve friends' location using the Facebook Graph API v2.2 but only getting basic friend info (id, name) but not location. I tried adding the location field but still friends location not showing up.
Here is the call I executed on Graph Explorer
https://graph.facebook.com/v2.2/me/friends?fields=location
Also is it possible to retrieve friends' network or filter friends list by location or current city?
Thanks
That's simply not possible anymore since Graph API v2.0. All the friends_* permissions have been removed.
See
https://developers.facebook.com/docs/apps/changelog#v2_0_permissions
I am getting only limitted number of feeds i.e**(25 feeds**) from my facebook grapg api and is their any option to get more feeds and i mentioned limit=200 in my URL but i am getting only 25.URL is https://graph.facebook.com/v2.2/me/posts?access_token={access_token}&limit=200.Is their any way to get this please suggest me
First get an access token, then retrieve all your feed. Please note that you may need to reiterate the request as the returned content is paginated (that is, ['paging']['next'] element exists inside the answer).
See also the official documentation.
I would like to know If it's possible to add a Check in on Facebook with PHP but without any Page id.
Because I have a database with a lot of places but I do not have a corresponding Facebook Page Id.
ANy idea?
To my knowledge, it is not possible to do a Check In without a page_id.
You can refer to How to get place_id before checkin? to find out how to get Facebook Page Id for your places.
I have a webpage that retrieves facebook posts of a fan page.
The web-page does not require visitors to log in via FBConnect. Instead a Facebook application was created and an application secret was obtained via the following link :
graph.facebook.com/oauth/access_token?client_id=[APP_ID]&client_secret=[CLIENT_SECRET]&grant_type=client_credentials
I am thus able to retrieve posts from the fan page via code-behind(php/.net) with the above application's access_token using the following url :
graph.facebook.com/cocacola/posts?access_token=[APPLICATION_ACCESS_TOKEN]
Problem : I cannot find any location specific posts. By location specific posts, I mean posts that are visible only to people from specific countries.
Has anybody been able to achieve this?
Thanks