我需要从 facebook 用户个人资料图片生成一张图片并将其发布到一些用户的墙上。例如,
$attch = array( '媒体' => 数组((数组('类型' => '图像',
'源' => 'https://graph.facebook.com/ https://graph.facebook.com/'.$uid.'/图片',
'参考' => 'https://graph.facebook.com/ https://graph.facebook.com/'.$uid.'/图片/')));
'源' => 'https://graph.facebook.com/ https://graph.facebook.com/'.$uid.'/picture' 行不显示任何图片...
我该如何解决这个问题?
Thanks
我在你的回答中回答了这个问题重复的问题 https://stackoverflow.com/questions/3013226/publishing-a-post-on-users-wall-by-facebook-app.
它没有显示图片,因为
那里什么也没有https://graph.facebook.com/[用户 https://graph.facebook.com/%5Buserid]/图片。您需要查询https://graph.facebook.com/[用户 https://graph.facebook.com/%5BuserID]
并解析 JSON 以获取其 URL。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)