2
我想通過Python Facebook SDK發送一些Facebook通知。使用下面的HTTP請求 做到這一點:Python。用戶訪問令牌需要此資源
https://graph.facebook.com/<USER ID>/notifications?&access_token=<My APP access token>&template=My message!!!!
所有請求返回如下回應:
{
"error": {
"message": "A user access token is required to request this resource.",
"type": "OAuthException",
"code": 102
}
}
我試圖做手工在瀏覽器中。結果是一樣的。 Facebook的只是說:
POST /{recipient_userid}/notifications?access_token= … &template= … &href= …
因此不需要任何用戶訪問令牌.... 請問該如何解決這個問題?
在此先感謝。