로그인 한 사용자의 개인 페이 스북 벽 및 팬 페이지 벽에 피드를 게시하려고합니다.그래프 API - 서버 측을 사용하여 Facebook에 피드 게시
<cfhttp url="https://graph.facebook.com/me/feed" method="post">
<cfhttpparam name="access_token" value="#variables.accessToken#" type="formfield">
<cfhttpparam name="message" value="#arguments.message#" type="formfield">
<cfhttpparam name="link" value="#arguments.link#" type="formfield">
<cfhttpparam name="name" value="#arguments.name#" type="formfield">
<cfhttpparam name="caption" value="#arguments.caption#" type="formfield">
<cfhttpparam name="description" value="#arguments.description#" type="formfield">
<cfhttpparam name="picture" value="#arguments.picturePath#" type="formfield">
</cfhttp>
이 developers.facebook.com의 코드에 따라이며 http://net.tutsplus.com/tutorials/php/wrangling-with-the-facebook-graph-api/
의 샘플이 내가 생각하는 단지 샘플입니다 매개 변수는 의미 :
하지만 벽에 게시되면 다음과 같이 진행됩니다.
- 메시지, 그림, 이름, 캡션 및 설명이 올바르게 표시됩니다.
- 링크가 표시되지 않지만 그림 자체가 가리키고 이름 링크가 그림을 가리 킵니다.
수많은 게시물을 참조한 후에 나는 이것을 게시 할 것이라고 생각했습니다.
도와주세요.
게시되는 URL을 linting의 결과를 추가하십시오. Linter here : https://developers.facebook.com/tools/lint – DMCS
이것은 링크 옵션에서 제공하는 URL입니다. http://www.traffikworks.com/community.html –
다음과 같이 프로토콜을 제공해야합니다. 잘. 그래서 이것을 시도해보십시오. http : // www.traffikworks.com/community.html (301을 사용하여 브라우저를 리디렉션하는 것을 볼 수 있기 때문에 www를 넣었습니다.) –