Facebook Graph API - Pin to top a post - facebook

I tried to figure out how I can pin a post to top with Graph API. Some people said to use property timeline_visibility set to starred but it's not pin the post at the top.
Somebody know how?
Thx

No, it is not possible now. This is even not part of UI now. check this out,
https://www.facebook.com/help/community/question/?id=10204102381228155

It's actually a bug at present that Facebook claims to be working on but it's been up since March. I recommend subscribing to the bug so you know when they've fixed it.
https://developers.facebook.com/support/bugs/657672685028365/
Once it's fixed it should be able to be done by passing is_pinned with the post data.

Related

facebook graph page/picture edge returning questionmark

So this is a little bit odd, I have a website that trawls facebook looking at specific pages and requesting data from them.
As part of this I request the picture object of the page: http://graph.facebook.com/285361880228/picture
This returns a question mark instead of the page profile picture.
Other links to pages seem to work without a problem.
http://graph.facebook.com/1485760851674064/picture
Does anyone know what may be causing this?
I am currently using version 2.3 of the API.
I'm assuming it has something to do with the page setup, as according to the facebook documentation,I should be able to read this.
https://developers.facebook.com/docs/graph-api/reference/v2.3/page/picture/
It seems like the facebook page has not been published. Try publishing the page and access the image using same link. It will work.

facebook graph api - search group is not working

Earlier i was searching for groups with a particular keyword on facebook using -
https://graph.facebook.com/search?q=query&type=group&access_token=abcd..
Since last month it has stopped working. This search now returns always for any
keyword an empty data array. While for types page,user,event,post still returns
proper results. This happened by the time versioning was introduced. I tested
also with the Graph API Explorer with different versions and none worked.
You can check it from here: https://developers.facebook.com/tools/explorer/
There's an open bug at FB for this. See my answer here: Search for Groups in Facebook with FacePy not working I don't think that there's anything you can do at the moment except wait and hope FB will fix this soon.
As Tobi mentioned there is a bug for this on Facebook.
If you face the same issue subscribe here:
https://developers.facebook.com/bugs/862756217087760/
The more developers subscribe, the soonest we'll have
a fix i guess.

Facebook Graph / FQL - is there a way to bring back or move up my old post?

I have a pretty strange requirement in front of me. I am able to pull out data from facebook Graph and do things around it without a doubt. However, out of the feeds/posts I have (I pulled from me/feed/), I can see some of the feeds are an year old or more. Is there a way by which I can bring up or move up any old post?
Many Thanks,
Reno Jones
No, you cannot edit the date of a post, or otherwise 'bump' it to the top of your Timeline via the API

Publishing Location-aware Post via Graph API

It is my understanding that the Post object is now Location-aware.
However, I can't seem to find documentation on how to publish location-aware Posts via the Graph API.
My app is currently publishing Checkins that reference a Place - but I would like to migrate to location-aware Posts since Places are being deprecated.
I understand that Checkins are sticking around, and that they will now reference a Page instead of a Place, but, unless I'm mistaken, the Page ID reference is still mandatory, and I am in need of my location-aware post/checkin having an optional Page reference.. hence my desire to move to Posts that have location capabilities.
Please let me know if I am incorrect in any of my assumptions..
I tried finding these questions, but none of them seem to hit exactly on the things I needed to know.
Thanks so much!
So you can now add location to posts and photos:
http://developers.facebook.com/blog/post/2012/03/07/building-better-stories-with-location-and-friends/
However I think this location is still added by giving a place ID or page ID (I'm not sure which, actually.) But I think you're asking if you can add location without a place/page ID? Personally I would like to do this as well, e.g. use lat/lon coords.
When you post through facebook proper, it can automatically add your general location (e.g. "near [nearest city/municipality]") however I don't see a way to achieve the same thing through the FB API.
You can't currently attach a location to a post via the graph api. Keep an eye on the Facebook developer blog to see if that changes.

Retrieve group events with Facebook Graph API

I'm a little confused trying to adapt to the new facebook Graph API.
Whereas before I would have used events.get, I'm not entirely sure what to use now!
I can't seem to get a list of a group's events through fql, nor through the Graph API itself.
Any pointers? Should I keep using REST?
In the documentation under "Connections" it doesn't appear that you can get /events. Or for that matter /albums or anything useful...
http://developers.facebook.com/docs/reference/api/group
However, if you know that something is an event (which you could probably do because the link in the data has "eid" in it - I can't see a way beyond that) then you can call the event URL (http://developers.facebook.com/docs/reference/api/event) and get the details that way.