久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何檢索我剛剛通過 Facebook API 發(fā)布的帖子的帖子

How to retrieve post ID for a post i#39;ve just made via the Facebook API(如何檢索我剛剛通過 Facebook API 發(fā)布的帖子的帖子 ID)
本文介紹了如何檢索我剛剛通過 Facebook API 發(fā)布的帖子的帖子 ID的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我正在使用以下代碼發(fā)布到主頁的 feed 連接

i am using the following code to publish to a Page's feed connection

    $attachment = array('message' => 'xxxxxxxxxxxxxxxxx',
            'name' => 'cccccccccccccccc',
            'caption' => 'cccccccccccccccc',
            'link' => 'http://apps.facebook.com/manydldotnet/',
            'description' => "ccccccccccccc",
            'picture' => "'cccccccccccccccc'",
            'actions' => array(array('name' => 'Download!','link' => 'http://apps.facebook.com/manydldotnet/'))
            );

$result = $facebook->api('/121468571287906/feed/','post',$attachment); 

那么問題是如何在發(fā)布后獲取post_id?

so the question is how to get the post_id after posting it?

推薦答案

帖子的 id 存儲在 $result['id'] 中.

The Post's id is stored in $result['id'].

它是調(diào)用feed的返回值;/links/photos 等也是如此.

It's the return value of the call to feed; this is also the case for /links, /photos, etc.

參考:http://developers.facebook.com/docs/reference/php/facebook-api/

這篇關(guān)于如何檢索我剛剛通過 Facebook API 發(fā)布的帖子的帖子 ID的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Joining 2 tables in SELECT(MYSQL/PHP)(在 SELECT(MYSQL/PHP) 中加入 2 個表)
How to make lt;option selected=quot;selectedquot;gt; set by MySQL and PHP?(如何使lt;option selected=“selectedgt;由 MySQL 和 PHP 設置?)
Auto populate a select box using an array in PHP(使用 PHP 中的數(shù)組自動填充選擇框)
PHP SQL SELECT where like search item with multiple words(PHP SQL SELECT where like search item with multiple words)
json_encode produce JSON_ERROR_UTF8 from MSSQL-SELECT(json_encode 從 MSSQL-SELECT 產(chǎn)生 JSON_ERROR_UTF8)
MySQL ORDER BY rand(), name ASC(MySQL ORDER BY rand(),名稱 ASC)
主站蜘蛛池模板: 久久精品国产一区 | 久久久久久毛片免费观看 | 国产精品明星裸体写真集 | 久久综合伊人 | 91av导航| 免费黄色的视频 | 亚洲91精品 | 国产精品视频 | 免费在线观看成人 | www成人免费 | 婷婷综合五月天 | 亚洲成av人影片在线观看 | 好姑娘影视在线观看高清 | 国产欧美日韩一区 | 国产一区二区在线播放 | 国产1区| 国产一级片免费视频 | 激情一区二区三区 | 国产乱码精品一区二区三区五月婷 | 国产成人免费视频网站视频社区 | 一区二区在线 | 涩涩视频网站在线观看 | 久久精品国产亚洲 | 国产精品久久久久久久久免费软件 | 欧美久 | 欧美福利视频 | 麻豆毛片 | 久久久精品一区二区三区 | 亚洲成人精品 | 91视频免费黄 | 91观看 | 亚洲日韩中文字幕一区 | 国产免费一区二区 | 四虎影院新地址 | 国产乱一区二区三区视频 | 秋霞在线一区 | 成人av电影免费在线观看 | caoporn视频在线 | 精品欧美一区二区三区久久久 | 一区二区成人 | 视频在线观看一区 |