This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes RestFB Insights question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "RestFB Insights question" Watch "RestFB Insights question" New topic
Author

RestFB Insights question

eddy johns
Ranch Hand

Joined: Feb 16, 2010
Posts: 67
Hi all,

This is a facebook RestFb question:

I'm trying to read insights from a page. I followed all the steps for
getting the access_token and I can get data by submitting this url:
https://graph.facebook.com/page_id/insights?access_token=token (I'm
getting a long json object with what seems to be all the data.)

But when I try the same process through the restFb api the data returns null.
Here's what I'm doing:


This produces insights.size = 1 and insights object = null.

So, why is it always null? There are wall posts for this page, and as I said the large json object certainly has data.

Thank you very much for your help!

Eddy
 
Consider Paul's rocket mass heater.
 
subject: RestFB Insights question