当前位置: 动力学知识库 > 问答 > 编程问答 >

Facebook App Access Token

问题描述:

This is a follow-up question to one I posted earlier: Facebook Graph API Access Token.

I successfully generated a 60 day app token. But my troubles are not over...

I've been able to isolate my problem using the Graph API Explorer,

https://developers.facebook.com/tools/explorer?method=GET&path=me%2Ffeed. When I type in my transient access code, I get the complete list. When I type in my app access code, I only get one entry. One that's not particularly recent, and its permission values don't seem any different than the other entries.

Can anyone shed some light on this?

Thanks again.

Jim Schueler

网友答案:

Requesting /me with an app access token should give only an error message, because without a user access token the API can’t figure out who “me” is supposed to be.

Use /userid in those cases instead.

网友答案:

RTFM.

The Scope needs to include 'read_stream' which is not a property of the app but a property of the access code.

分享给朋友:
您可能感兴趣的文章:
随机阅读: