포스트백을 시도할 때 Oauth 예외 발생 (Getting Oauth Exceptions When trying to postback)


문제 설명

포스트백을 시도할 때 Oauth 예외 발생 (Getting Oauth Exceptions When trying to postback)

담벼락/타임라인에 달린 댓글에 답글을 달려고 합니다. https://graph.facebook.com/me/ 권한을 확인하면 권한?access_token=ACCESS_TOKEN (예) 다음과 같이 반환됩니다.

{
   "data": [
      {
         "installed": 1,
         "read_stream": 1,
         "status_update": 1,
         "photo_upload": 1,
         "video_upload": 1,
         "email": 1,
         "create_note": 1,
         "share_item": 1,
         "publish_stream": 1,
         "publish_actions": 1
      }
   ]
}

내가 publish_stream/actions를 가지고 있다고 말합니다. 문서를 올바르게 읽으면 그게 전부입니까? 담벼락에 새 댓글을 게시할 수는 있지만 답장을 보낼 수는 없습니다.

내가 받는 예외는 "(OAuthException) (#200) publish_stream 권한 필요 또는 확장 권한 필요: publish_actions"입니다.

Do 게시물에 답글을 달기 위해 다른 것이 필요합니다. 이미 가지고 있는 권한이 필요하다고 나와 있습니다.

감사합니다

수정:<


참조 솔루션

방법 1:

In your code, are you posting the objId as 744590031_10151761424915032?

Try calling the app with only the last part of the objId, e.g. /10151761424915032/comments and see if it works then.

(by Steven YatesNiraj Shah)

참조 문서

  1. Getting Oauth Exceptions When trying to postback (CC BY‑SA 2.5/3.0/4.0)

#OAuth #facebook-comments #facebook #facebook-graph-api #facebook-c#-sdk






관련 질문

포도 API 및 OAuth (Grape API and OAuth)

단일 사용자 계정에 대해 동일한 타사 애플리케이션을 여러 번 승인하는 방법은 무엇입니까? (How to handle authorizing the same third-party application multiple times for a single user account?)

Google OAuth의 액세스 토큰 만료 시간대 (Google OAuth's access token's expiry timezone)

Facebook에서 앱 ID를 얻는 방법 (How to get app id on Facebook)

새로 고침 토큰을 사용하여 백그라운드에서 인증을 받고 액세스 토큰을 얻는 방법은 무엇입니까? (How to use refresh token to get authorized in background and getting access token?)

JSON 웹 토큰을 사용하여 Chrome 확장 프로그램에서 내 앱으로 POST 요청을 인증하는 방법은 무엇입니까? (How to authenticate a POST request from a chrome extension to my app with JSON web tokens?)

LAN 내부에 인증 자동 기능이 있는 Grails 애플리케이션을 테스트할 수 없습니다. (Cannot test Grails application which has oauth autontication inside LAN)

신뢰할 수 없는 호스트를 사용하여 방화벽에서 보안 연결을 중개하는 방법은 무엇입니까? (How to broker secure connection across firewalls using untrusted host?)

로컬 HTML 파일에서 oAuth 흐름을 처리합니까? (Handling an oAuth flow from local HTML files?)

Twitter4J로 인증하는 방법은 무엇입니까? (how to authenticate with Twitter4J?)

IdentityServer4를 사용할 때 "코드 챌린지 필요" 메시지가 나타납니다. (I am getting "code challenge required" when using IdentityServer4)

Apache Superset 및 Auth0은 "브라우저(또는 프록시)가 이 서버가 이해할 수 없는 요청을 보냈습니다."를 반환합니다. (Apache Superset and Auth0 returns "The browser (or proxy) sent a request that this server could not understand.")







코멘트