图片发布不再使用Facebook Graph API了 [英] Picture posting NOT working with facebook Graph API anymore

查看:97
本文介绍了图片发布不再使用Facebook Graph API了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

图片发布不使用Facebook Graph API



该信息已发布,但图片不是。



我正在使用Graph API发布到Facebook上的墙壁。



我的代码正常工作,发布图片,但不会发布图片!



以下是CURL参数:



我发布到URL: https://graph.facebook.com/ID/feed



,POST参数为:

  access_token = TheToken& message = My + Message& picture = ImgUrl 
pre>

其中:
access_token是一个有效的访问令牌
消息是在墙上显示的消息
图片是相关联的图像消息显示在墙上

 该ID是有效的,access_token是有效的。任何帮助不胜感激,Facebook似乎臭名昭着的改变他们的API而不通知接口站点!


解决方案

我使用LINK参数而不是PICTURE参数,现在似乎都在工作。 Facebook改变了一些关于PICTURE参数停止工作的内容。我没有更改我的系统上的任何代码,它只是停止工作。请参阅 http://developers.facebook.com/docs/reference/api/post/


Picture posting NOT working with Facebook Graph API

The message is posted but the picture is NOT.

I am using the Graph API to post to the wall on Facebook.

My code was working fine posting the picture but is NOT posting picture anymore!

Here are the CURL parameters:

I am posting to URL: https://graph.facebook.com/ID/feed

and the POST parameters are:

access_token=TheToken&message=My+Message&picture=ImgUrl

where: access_token is a valid access token message is the message to display on the wall picture is the image associated with the message to display on the wall

The ID is valid and access_token is valid.

Any help is appreciated, Facebook seems to be notorious in changing their API without informing interfacing sites!

解决方案

I used the LINK parameter instead of the PICTURE parameter and all seems to be working now. Facebook changed something in regards to the PICTURE parameter where it stopped working. I did NOT change any code on my system and it just stopped working. See http://developers.facebook.com/docs/reference/api/post/

这篇关于图片发布不再使用Facebook Graph API了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆