簡體   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