2011-07-03 23 views

回答

1

爲了您的賬號,獲得與user_online_presenceoffline_access權限的訪問令牌。然後你就可以與訪問令牌運行下面的FQL查詢:

SELECT online_presence from user where uid=me() 

然後就只渲染視頻直播插件在網頁上,如果online_presence是「主動」或者也許還「空閒」。

0
<div class="fb-live-stream" 
    data-event-app-id="321046074604304" 
    data-width="200" 
    data-height="300" 
    data-xid="38b9005e85114dc9f71b6781f1d20a12" 
    data-via-url="http://viadewakoplax.blogspot.com/" 
    data-always-post-to-friends="true"></div> 
相關問題