Facebook 댓글 소셜 플러그인에 댓글을 추가할 수 있는 API가 있습니까? (Does the Facebook Comments Social Plugin have an API where comments can be added?)


문제 설명

Facebook 댓글 소셜 플러그인에 댓글을 추가할 수 있는 API가 있습니까? (Does the Facebook Comments Social Plugin have an API where comments can be added?)

Facebook 댓글 플러그인이 사이트에 설치되면 Graph(또는 기타) API를 통해 프로그래밍 방식으로 댓글을 추가 및 제거할 수 있습니까? 예를 들어 게시자(FB 프로필 사용)가 논평을 시드하려는 경우입니다.


참조 솔루션

방법 1:

The answer is NO, this is not possible, by design.

Using the Graph Explorer, you can test the API calls detailed for Comments objects here:

POST {object_id}/comments?message='graph‑test‑1'

...which (assuming you have a properly configured Comment plugin) results in this:

{
  "error": {
    "message": "(#100) Comments may not be added to a comment plugin", 
    "type": "OAuthException", 
    "code": 100
  }
}

방법 2:

In theory, all comments made through the plugin have id's which can be accessed via the graph api.

For example: https://graph.facebook.com/comments/?ids=http://developers.facebook.com/docs/reference/plugins/comments

&&

https://developers.facebook.com/docs/reference/api/Comment/

Posting like or comment to that id should generate a comment in that array. I have never done this, but i will give it shot and post back with any sample code i can get working. "via PHP SDK 3.1.1"

방법 3:

the facebook's graph API may not be used to add comments to a comment plugin, only comment social plugin of web version can do it.

(by Ajay Pondicherryericpeters0nShawnDaGeekArtem)

참조 문서

  1. Does the Facebook Comments Social Plugin have an API where comments can be added? (CC BY‑SA 2.5/3.0/4.0)

#facebook-comments #facebook #facebook-graph-api #comments






관련 질문

ROR + 모든 게시물에 대한 최신 또는 마지막 두 개의 댓글 가져오기 (ROR + Fetch latest or last two comments for every Post)

Facebook에 다시 게시하지 않고 Facebook 댓글을 사용하시겠습니까? (Use Facebook Comments without posting back to Facebook?)

뉴스피드에 댓글 올리기 (Posting a comment on the news feed)

Facebook 댓글이 extjs 컨테이너에 표시되지 않습니다. (Facebook comments don't appear in extjs container)

Facebook 댓글 소셜 플러그인에 댓글을 추가할 수 있는 API가 있습니까? (Does the Facebook Comments Social Plugin have an API where comments can be added?)

자동 생성된 페이스북 댓글 상자 (Auto-generated facebook comments boxes)

Facebook 댓글 상자가 설치되었지만 중재자 보기 탭이 표시되지 않음 (Facebook Comment box Installed OK but moderator view tab not showing)

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

페이스북 댓글 - 중재를 허용하지 않습니다. (facebook comments - doesn't let me moderate)

같은 페이지에서 Facebook 좋아요 및 Facebook 댓글 활성화 (Activate Facebook like and facebook comment on same page)

웹사이트의 Facebook 댓글(사이트의 다른 페이지에서 작동하도록 만들기) (Facebook Comments on a Website (Making it work with diffrent pages on the site))

Facebook 댓글이 때때로 로드되지 않음 (Facebook Comments sometimes not loading)







코멘트