facebook graph api - search group is not working - facebook

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.

Related

How to pull dark posts on FB Graph API v6.0?

On v3.2 and under, the method in this post still works:
/promotable_posts?include_inline=true
The results must then be filtered by is_hidden=True to find the true dark posts.
What is the equivalent of this on v6.0? /promotable_posts is deprecated and we may lose access entirely at an unknown time.
/published_posts is supposed to be all posts published by a page, so I would expect the answer to be in that endpoint but cannot find it yet.
You should request this.
/{page-id}/ads_posts?include_inline_create=true
That worked for us.

Does Facebook's dialog/friends still work?

We've been using http://www.facebook.com/dialog/friends/?id=...&app_id=...&redirect_uri=...&display=popup to let users add friends in our app.
But lately it's stopped working. I've searched the docs but couldn't find any reference to the dialog/friends anymore. Has it been deprecated/removed?
The dialog to add friends has been removed a long time ago afaik. HereĀ“s a list of all available dialogs: https://developers.facebook.com/docs/javascript/reference/FB.ui

Certain Facebook insights tables do not return data after 1/25? (Both FQL and Graph API)

I've done everything to try and figure out why this is happening. It has nothing to do with deprecated insights; it's tables like page_fans which should be returning data. The data returns empty for every day after 1/25 until now. I read somewhere this is a Facebook bug but it's been like two weeks. Is there any hope in sight?
This is the #1 bug currently on Facebook's bug site: http://developers.facebook.com/bugs/164619063648278
Facebook is notorious for taking forever to fix bugs, if they ever even get fixed. Not much you can do until then.

Facebook Graph API does not give any data earlier than 2011?

I'm the author of Fazzle app on iPhone. What my app does is basically download user status updates and sort them in various orders (e.g. most liked, most commented).
I have been wondering if Facebook allow developers to get user's status updates since the day they joined Facebook, because when I launched the app I can only get user statuses from 2009. Today I just discovered that Facebook limits Graph API calls down to just since 2011.
I tried looking at documentations, asked around here, and contacted Facebook through their forum. However so far there is no word on this limitation in Graph API. Did I miss something? Is there any other way for me to get data for status updates earlier than 2011?
You can test it yourself here. Use this GET request:
https://graph.facebook.com/(your_user_id)/statuses?limit=99999
Scroll down and you'll find out that not everything's downloaded.
Is this because of conflict of interest with Facebook Timeline? If so, that sucks.
Logged as a bug here. Still hoping someone can point out my mistakes if there's any.
Absolutely you can get older posts from Graph API; there is no limit (at least not that I am aware of). Use the since and until parameters to page back through results, instead of offset:
https://graph.facebook.com/me/feed?access_token=[token]&until=1165474447
Documentation for Paging doesn't go very in-depth on since and until:
When querying connections, there are several useful parameters that enable you to filter and page through connection data:
limit, offset: https://graph.facebook.com/me/likes?limit=3`
until, since (a unix timestamp or any date accepted by strtotime):
https://graph.facebook.com/search?until=yesterday&q=orange
But basically, until is like saying "Give me posts up until this date", and since is similar, "Give me posts since this date". So you can scroll all the way back through a user's feed using a loop something like this:
// pseudocode
timestamp = now
do {
posts = graph.get(/me/feed?until=timestamp)
if posts.length == 0: break;
// process posts
timestamp = posts[0].created_time // first should be the oldest, in theory
} while (1)
Replace until with since and oldest created_time with the newest to go forwards in time, e.g. to grab any newer posts since the last time the user ran the app.
Facebook has since confirmed this as a bug. If you have followed Facebook's bug tracker ever, unfortunately that means there is very little if any chance they will actually fix this.
You will need to paginate. Limit is limited. Please read http://developers.facebook.com/blog/post/478/

Facebook - why if i connect album or photo, returning false

Thursday i could connected with user album and photo. but Friday & today (Monday) i can't..
there is something bug with Graph API??
and how to create album in page (business page) with Graph API?? i got the identifier and i can access with https://graph.facebook.com/121845897865800 but if i check manually in my page, i couldn't find that..
i using permission: publish_stream,offline_access,user_photo_video_tags,manage_pages
need help!!
As for the first matter, things like to go in and out with the facebook API. It may even be a result of the devs trying to fix the issue with your second point. If it does not fix soon, fill out a bug report or search the forums
as for the second this is a known bug:
http://bugs.developers.facebook.net/show_bug.cgi?id=11254
http://bugs.developers.facebook.net/show_bug.cgi?id=10607
I suggest adding your email to the bug reports to keep track of facebook's progress with fixing them. Facebook says "it is being actively worked on." whick means it could be a while.