File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RestFB Insights question
 
Similar Threads
Unable to fetch results using createQuery
Java Representation of JSON String
Struts2-json plugin not serializing action class to json
wrestling with json
A 404 Error, need help configuring web.xml