I’m accually asking is it possible to get public wall feeds without auth token?
If I’m not logged in to facebook, I can still see the public posts ,this is a good example : http://www.facebook.com/adele
I’m using facebook graph API like this:
uri ="https://graph.facebook.com/" + this.getString(R.string.wall_id) + "/feed?access_token="+Utility.mFacebook.getAccessToken();
JSONObject json = GetJSON.fromURL(uri);
If I’m connected to FB I’m successfully get the feeds. Do I need to ask for a new token when I’m offline?
thanx!
You can go to:
http://www.facebook.com/feeds/page.php?id=%5BAPP_ID%5D&format=json
For example: Nike Facebook page – http://www.facebook.com/feeds/page.php?id=15087023444&format=json
To find out the APP_ID for a page go to https://graph.facebook.com/%5Bpage_name%5D and in the output you will find it.
e.g.: https://graph.facebook.com/nike – “id”: “15087023444”
More info here: http://costimuraru.wordpress.com/2011/12/16/facebook-how-to-find-out-a-fan-page-id/