私は最近、ドメインのWebページをFacebookに統合するためのFacebookアプリケーションを作成しました。Facebook Admin Link Missing
しかし、adminとしてfbにログインしている間に管理リンクがWebページに表示されない理由を理解できません。
各Webページで必要なコードを実装するさまざまな方法があるようであるため、開発者のドキュメントを読むのはちょっと混乱することがあります。 SDKを読み込む方法とどのマークアップ方法で一致する名前空間を決定するのは難しいです。
私はHTML5でこれを実行しようとしています。
<!DOCTYPE HTML>
<!-- Whilst I have found many html namespace modifications for XFBML methods I did not see any requirements for html5 an d the following method -->
<html>
<!-- The head og namespace is taken from the fb developers app > open graph > object types > get code link -->
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# video: http://ogp.me/ns/video#">
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- The meta properties are also taken from the fb developers app > open graph > object types > get code link -->
<meta property="fb:app_id" content="APP ID NUMBER"/>
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.domain.com/page.html"/>
<meta property="og:title" content="TITLE"/>
<meta property="og:description" content="DESCRIPTION."/>
<meta property="og:image" content="http://www.domain.com/og_thumb.jpg" />
<!-- The meta property here was not included with the above but is required according to https://developers.facebook.com/docs/reference/plugins/like/ -->
<meta property="og:site_name" content="SITE NAME" />
</head>
<body>
<!-- The following is the code given when using the "like" code generator from this page https://developers.facebook.com/docs/reference/plugins/like/ and selecting the "HTML5" option -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=APP ID NUMBER";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="http://www.domain.com/page.html" data-send="true" data-layout="button_count" data-width="0" data-show-faces="false" data-font="arial"></div>
</body>
</html>
FBアプリの管理者ユーザとしてログインしながら、私はページ名/ IDをルックアップすることによって、ページの管理者を訪問し、そのようなURLにそれらを追加することができています: http://www.facebook.com/pages/TITLE-OF-PAGE/GRAPH-ID-NUMBER
https://developers.facebook.com/bugs/178579068908181/私はFBを使用した場合と理解:
私は関連思わこのバグに気づいAdmins]を管理しなければならない管理のリンクを見ることができる前に、ページ「のような」。
しかし、私は、fb:app_idを使用しているときにページを「好き」する必要はないと仮定しています。
ウェブページの管理リンクを有効にするには、何が欠けていますか?
遅刻応答に申し訳ありません。私はfb:adminsでも+デバッガを使ってテストしましたが、まだ喜んでいません。これは再現可能なバグです:https://developers.facebook.com/bugs/312068448887757?browse=search_5031bc5d092e70230154166 "低い"優先度が与えられています – timoto