Getting limited data from a page which has a Facebook ID - facebook

I just posted a question before (here) and it is working now. But with that question answered, another one came up.
This URL below I have only my shares
https://graph.facebook.com/?ids=http://marceloduende.com/facebook_test/index.html
And on this URL, I have all this data...
https://graph.facebook.com/?ids=http://www.imdb.com/title/tt2380247/#lb-vi2114495513
Anyone has any advice on how do I get all this data? It's the only trick I couldn't figure out.
Thank you

Problem solved.
The IMDB uses it's own javascript to do the fql and then spit the json. The proof is below. So by default, what facebook provides is what I already have. Thank you all.
Adulterated facebook script:
(function(d,s,id){var js,stags=d.getElementsByTagName(s)[0];
if(d.getElementById(id)){return;}js=d.createElement(s);js.id=id;
js.src="http://g-ec2.images-amazon.com/images/G/01/imdb/plugins/rating/js/rating.min.js";
stags.parentNode.insertBefore(js,stags);})(document,'script','imdb-rating-api');
Unminified script version:
http://g-ec2.images-amazon.com/images/G/01/imdb/plugins/rating/js/rating.js

Related

Not getting all comments using Facebook Graph API

I'm trying to get comments using Facebook Graph API using this code
https://graph.facebook.com/post_id/comments?access_token=XXX
where XXX is replaced by my access token. The problem I'm facing is I'm not getting all the comments. It's end output is like this:
enter image description here
One of the solution through which I'm able to get all comments if using limit like this:
https://graph.facebook.com/post_id/comments?access_token=XXX&limit=1000
This solved my problem since I had only 50+ comments. Still looking for more better solution.

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 to read recommendations

While I can access several data using fbgraph api, I couldn't find way to read the "recommendations" data.
For example: For the facebook page www.facebook.com/cozycaterers , its recommendation content appearing on right side below cover photo.
Could someone please help me.
Thanks in advance.
Don't think this is currently possible.
I have checked the Docs for FQL and Graph API with no luck ...
Hopefully facebook will allow access sooner or later
I tried this query with the FQL Explorer:
SELECT review_id, rating, message, reviewer_id FROM review where reviewee_id='492378670299'
It returned results, but not as many as I expected.
If anyone has a better answer, I'd be happy to know...

How to retrieve the comments or at least the number of comments hidden on a Facebook post?

I'm trying to retrieve the comments marked as spam/hidden or deleted by the admin of a page.
I can't find a way to do that.
Please help!
if its not in facebooks API documentation then I dont know what to tell you, you most likely cant do it. I would think that stuff that has been deleted is only accessible if your Zuckerburg.
Have you tried using FQL. Try querying FQL comments table.

Facebook publish to feed

Recently I'm working with the Graph API of facebook and I got the authentication ready, though publishing to my own feed gives me a hard time..
I'm trying to find the correct URL to do this, because I am using MonoTouch and the only way to publish is using a webrequest. I tried to check what the API said but it wasn't quite clear, I'm trying the following url:
https://graph.facebook.com/myusername/feed?access_token=mytoken?message=testmessage
What am I doing wrong ?
Thanks in advance!
You are missing the parameter method with the value post.
Try this:
https://graph.facebook.com/myusername/feed?method=post&access_token=mytoken&message=testmessage