开发者

Getting facebook wall posts without user login on iOS

开发者 https://www.devze.com 2023-03-11 01:11 出处:网络
Edit: I found the solution here: Using app access token in IOS Hi, I read in this thread开发者_Python百科:

Edit: I found the solution here: Using app access token in IOS

Hi,

I read in this thread开发者_Python百科: Facebook API without client authentication for public content that it is possible to make facebook api graph requests without the need to log in as a user. I tried getting the app access token with a NSURLConnection request, but from there I don't know what to do.

How do I get the NSData response into the right format for the token (which is what, a NSString?)?

And how do I send a facebook graph request with the aquired token?

Or is there a simpler way to receive public posts from a facebook wall without the need to login as a user?

Greetings Michael


Hey i'm struggling a litle bit with the same problem.

Since a couple of days Facebook changed some things concerning having an access tokken. Now, if you only want to read a users posts you will need to have an access token (even if this info is public).

Luckily you can also use the app access token. I'm trying to figure out how to fix this, but here is some information about that: http://developers.facebook.com/docs/authentication/ (chech app login)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号