Get posts and comment marked as spam - facebook-graph-api

In my fan pages, in FQL or Graph API,
I would like to get posts and comment which have been marked as spam.
And in a second time I want to "mark as spam" with graph API for example.
Thanks

There is a fb bug report related to this.
https://developers.facebook.com/bugs/156137637817779
The priority is wishlist. :(

Related

why when i try to get the feed of a facebook group through the API, I can't always see the photo in a post?

In the same group there are some posts with photos that I can get through API, but there are others posts with photos where I can't get the photo, I can see only the text. ( the same thing appen also for the comments in the group).
Apparently seems to be not logic the reason, because I don't think is a privicy problem.
Some help ?
Try adding the modifier .filter(stream) to the field you're looking for.
Such as
graph.facebook.com/v2.1/{object_id}?fields=feed.filter(stream)
This will force all the nodes/edges to return. Facebook likes to "hide" some that it's "Top Story" algorithm determines has a low score.
The documentation is very poor on this modifier.

Retrieving recent comments for multiple posts through FQL or graph API - Inconsistent results

We are trying to poll recent comments for a fb page. It appears that using graph API requires a separate call per post (e.g if there are 100 posts we'll have to do 100 calls to retrieve the comments of all posts).
So, we're using FQL in the following way:
https://api.facebook.com/method/fql.query?format=json&access_token<acess_token>&query=SELECT id, text, post_id, fromid, username, time, likes FROM comment WHERE post_id in ('156790397738497_357582840992584', ...)
Most of the time it works fine, but we've found several cases where it does not return all the comments of a post (using the graph API for the specific post id does retrieve all posts).
Has anyone found any solution to this or a better way to retrieve all recent comments of a page?
We've filled a FB bug (http://developers.facebook.com/bugs/529168040436289) but they don't seem to be willing to investigate it.
This is a major problem for us too. This really should work. Slightly disappointing that something as important as this is not supported by FB.

Does anyone else get empty search results when using Facebook Graph API Public Search?

Could someone do me a flavour and let me know if you also get back an empty json array when you click on the sample user search url on the Facebook Graph Api docs page.
Here is the page http://developers.facebook.com/docs/reference/api/
It is in the search section. the people link.
Here is the link I am clicking and all other search links return data except the user search.
This is what I get back
My question is do other people have this problem as well or is it just me.
My suspicion is that it has to do with the way Facebook filters by privacy after they've selected your results. Meaning graph asks for (X) results, Facebook finds (X) results that match your search, then removes those who have it in their privacy options not me be searched, and then after filtering returns what's left. This is explained on Facebook's dev blog: https://developers.facebook.com/blog/post/478/
See the following answer for clearer details: https://stackoverflow.com/a/11848002/624590
That said, it could be something else - I've noticed it's been getting especially bad in recent weeks; fewer and fewer results seem to be returned.
We've been getting empty results for type=post for periods of 1-2 hours for the past few days. I'm sure it's related to something on their end, check out my bug post here http://developers.facebook.com/bugs/456910301017301?browse=search_509b0461dc68c0151458645

Like box showing duplicate posts

I've set up a like box for my band's website using this page https://developers.facebook.com/docs/reference/plugins/like-box/
The Facebook page for my band is http://www.facebook.com/zeligmusic
When I add the URL into the Like Box plugin page, I am getting the first two posts from the Facebook page repeated. The first post is from earlier today, the next is from 9th Feb. These two posts are being duplicated in the stream. Posts from before that, the most recent being from 31st December, are fine and are only being displayed once.
Can anyone shed any light on why this is happening? And if there is anything I can do to fix it?
Many thanks,
Will
It's a bug: http://developers.facebook.com/bugs/220672548026208
You should go there and mark it as reproducible and also subscribe to it so you can watch for updates.

Facebook Like button and backdated posts on Tumblr

I've implemented the facebook like button in my tumblr project - and it works well. However, one thing I have noticed is that when I backdate a post, ie so I can change the order the way it appears on the site, the facebook like button no longer works for that particular post. I've used the lint/debugger and it's not throwing any errors and there's been no change in the coding as it's been called in a loop and the facebook like button works for other posts. So does anybody know what's going on or if this is an issue I need to be aware of?
There was general problems between Tumblr and Facebook in the last days
but now it should work fine,
if you still get general problems then you can report about them as a comment in the main bug report here:
http://developers.facebook.com/bugs/134909119955013
and a link to your blog will be helpful.