Post to facebook wall through graph API including Location - facebook

Is it possible to perform a post to Facebook wall through the Graph API including location coordinates?
An example through Graph API explorer will be helpful!
thanks!

Yes this is possible,
you can create a post to the users wall with a location if he/she has given you the publish_stream access
look into the Graph api documentation Facebook Graph API

Related

Facebook Graph API does not return the posts on my wall which i shared from some random user

I have shared a post from a random user and it shows in my Facebook wall with the message i have provided but Graph API is not retrieving it when i query using me/posts. Is it possible to retrieve such posts on my wall through GRAPH API. I am using an access token with all available permissions. So permissions should not be an issue. Could someone let me know if there is a way to get such posts.

Some posts not visible on the feed through Graph API /me/home

I'm working on an application and I've noticed that some posts from the feed are not visible through Graph API /me/home. But if I send request from Graph API Explorer app, I could see.
For example
Request from my app http://storage9.static.itmages.com/i/14/1023/h_1414085047_2753961_8f3284c6bd.png
Request from Graph API Explorer
http://storage7.static.itmages.com/i/14/1023/h_1414084999_5837075_594eb48230.png
Permissions are identical
What could be the problem?
Give this a go.
me?fields=home.filter(others){message,id}
FB's documentation is horrible.

Facebook wall posts made by me via the graph api

Is it possible to query my feed for the wall posts made by me and not by others?
Yes it is possible.Try https://developers.facebook.com/tools/explorer
And use
https://graph.facebook.com/your_facebook_id?fields=feed.fields(from,message,story,description)

Extract all posts on a user's Facebook wall

I'm trying to make a summary of all the wall posts made on a company's Facebook wall but I'd like to have all the posts in XML-like format. I'm aware of the Graph API but I've never used it before.
The exact specific problem:
How can I 'extract' all wall posts made on a company's Facebook wall?
try the following with Graph API.
https://graph.facebook.com/[company_page_id]/posts?access_token=XXXXXXX

Like a friend's photo

How to support "like friends photos" for Facebook user using Facebook APIs or FQLs?
The REST API is deprecated, and the Graph API should be used whenever it´s possible. FQL only if there is no other/good way with the Graph API.
About liking Photos, see here: https://developers.facebook.com/docs/reference/api/photo/
You can like a photo by issuing a HTTP POST request to PHOTO_ID/likes
connection with the publish_stream permission. No parameters
necessary.