繁体   English   中英

在facebook墙上张贴图片

[英]posting on facebook wall with picture

我可以在邮件内的某人的墙上张贴图片的限制吗?

当我使用此代码时:

if (isset($_GET['publish'])){
        try {
            $publishStream = $facebook->api("/$user/feed", 'post', array(
                'message' => "I love thinkdiff.net for facebook app development tutorials. <img src="http://c3354688.r88.cf0.rackcdn.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"> ",
                'link'    => 'http://ithinkdiff.net',
                'picture' => 'http://thinkdiff.net/ithinkdiff.png',
                'name'    => 'iOS Apps & Games',
                'description'=> 'Checkout iOS apps and games from iThinkdiff.net. I found some of them are just awesome!'
                )
            );
            //as $_GET['publish'] is set so remove it by redirecting user to the base url
        } catch (FacebookApiException $e) {
            d($e);
        }
    }

一切正常,但如果我将图片更改为显示的其他URL照片,尽管有图片可用。

有什么建议么 ?

您是否尝试过在域上运行http://developers.facebook.com/tools/lint/并查看结果如何? 也许您需要清除FB的缓存。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM