나는 다음 ColdFusion에서-코드와 페이스 북 그래프 API를 통해 앨범에 이미지를 게시하기 위해 노력하고있어 "파람의 no_story 부울해야"내가 no_story=true
를 생략하면페이스 북 그래프 API 및 ColdFusion에서 :
<cfhttp method="post" url="https://graph.facebook.com/#albumid#/photos/">
<cfhttpparam type="formfield" name="access_token" value="#access_token#" />
<cfhttpparam type="file" name="source" file="#img_dir#\dummy.jpg" />
<cfhttpparam type="formfield" name="message" value="foo bar" />
<cfhttpparam type="formfield" name="no_story" value="true" />
</cfhttp>
, 모든 것이 완벽하게 작동하지만 내 벽에 게시물이 나타나지 않도록이 속성이 필요합니다.
{"error":{"message":"(#100) Param no_story must be a boolean","type":"OAuthException","code":100}}
HTTP/1.1 400 Bad Request Content-Type: text/javascript; charset=UTF-8 WWW-Authenticate: OAuth "Facebook Platform" "invalid_request" "(#100) Param no_story must be a boolean" Access-Control-Allow-Origin: * X-FB-Rev: 1568945 Pragma: no-cache Cache-Control: no-store Facebook-API-Version: v2.2 Expires: Sat, 01 Jan 2000 00:00:00 GMT X-FB-Debug: Vt7Viz/nlNfsQDDfNKtVuBjfgjDiWPFxYb0TAEpJJa9NjrR+TrEB8nuMOerQJYMX9E2e1CeqfBZT70/1KODErg== Date: Wed, 21 Jan 2015 12:13:31 GMT Connection: close Content-Length: 98
내가 변화 다음 시도 : :이 오류가있어 이들의
<cfhttpparam type="formfield" name="no_story" value="TRUE" />
<cfhttpparam type="formfield" name="no_story" value="True" />
<cfhttpparam type="formfield" name="no_story" value="#true#" />
<cfhttpparam type="formfield" name="no_story" value="#JavaCast('boolean', true)#" />
<cfhttpparam type="formfield" name="no_story" value="1" />
<cfhttpparam type="formfield" name="no_story" value="Yes" />
없음 작동하지 않습니다.
게시 요청 본문을 표시 할 수 있습니까? 실제로 브라우저가 어떤 데이터를 게시했는지 보여줄 수 있습니까? 브라우저에서 dev 도구를 사용하여 찾으십시오. – haxtbh
@haxtbh 불행하게도 이것은 서버 측에서 발생합니다. 나는 어떤 데이터가 게시되는지 볼 수있는 방법을 찾고 있습니다. – Boris
여기에서 현재 상태 확인 : https://developers.facebook.com/bugs/855430617846913/ – Boris