0

Facebook では、 を使用して自分自身に質問を送信できます/me/questions?question=question&options=["answer1","answer2"]

しかし、別のユーザーに質問を送ることはできません。「私」の代わりに別のユーザーの ID を使用すると、エラーが発生します。

{
    "message": "(#240) Requires a valid user is specified (either via the session or via the API parameter for specifying the user.", 
    "type": "OAuthException", 
    "code": 240
}
4

1 に答える 1

0

基本的に、指定されたユーザー ID の publish_stream 権限を組み込んだトークンが必要です。見る:

https://developers.facebook.com/docs/reference/api/user/#questions

于 2012-09-05T11:17:43.467 に答える