2013-04-25 65 views

回答

3

大多數現在提出的帖子似乎都使用Flash,並將它們嵌入到Post中。相互作用可以通過使用定製的Open Graph對象進行,通過對代表的Open Graph的網址添加以下元標記對象

<head prefix="og: http://ogp.me/ns fb: http://ogp.me/ns/fb"> 
    <meta property="fb:app_id"  content="APP_ID" /> 
    <meta property="og:type"   content="game" /> 
    <meta property="og:url"   content="http://example.com/embed/" /> 
    <meta property="og:title"  content="Beat Gareth's high score" /> 
    <meta property="og:description" content="Gareth scored 2800, can you beat it?" /> 
    <meta property="og:image"  content="http://example.com/game.png" /> 
    <meta property="og:video"  content="http://example.com/game.swf" /> 
    <meta property="og:video:width" content="398" /> 
    <meta property="og:video:height" content="299" /> 
    <meta property="og:video:type" content="application/x-shockwave-flash" /> 

和出版上的用戶提供端點作爲

POST /USER_ID/feed? 
    link=http://example.com/embed/ 
    access_token=USER_ACCESS_TOKEN 

對於更詳細的如何做這個檢查this