Facebook graph API - receiving wall messages

I am having trouble downloading the facebook graphical API and reading my wall message.

I created a facebook application and now it has an App ID and AppSecret, using the ones I get access_token through this URL: https://graph.facebook.com/oauth/access_token?grant_type=client_credentials&client_id=MYAPPID&client_secret=MYAPPSECRET

example: access_token = 12313231321312312312

then I make a call here:

https://graph.facebook.com/MYFACEBOOKID/feed?access_token=12313231321312312312

however, the results that I see are not a list of objects that are on my wall. Example I made a message today, and this is not the result. The only thing listed there is a friend that I added about 2 weeks ago, and nothing more.

If I go to https://developers.facebook.com/tools/explorer and enter the text box placed in / MYFACEBOOKID / feed and submit, then I see the full results of what I would like to get above (using the application secret and t .d.). If I copy the access_token from the explorer page and put it in my url, then I will also get full results.

So interesting, what am I missing? Do I need to add any permissions, so I can get the same results using the AppID / AppSecret method for access_token request?

access_token ?

+5

All Articles