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

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

问题描述

图片发布不适用于 Facebook Graph API

Picture posting NOT working with Facebook Graph API

信息已发布,但图片未发布.

The message is posted but the picture is NOT.

我正在使用 Graph API 在 Facebook 上发帖.

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!

这里是 CURL 参数:

Here are the CURL parameters:

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

和POST参数是:

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

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

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.

感谢您提供任何帮助,Facebook 似乎以更改 API 而不通知接口站点而臭名昭著!

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

推荐答案

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

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天全站免登陆