Facebook comments moderation, appid or facebook page?
I'm looking to add Facebook comments to certain pages of our website.
I understand that I can do this by just generating the code for each page I want comments on by using the generator here... http://developers.facebook.com/docs/reference/plugins/com开发者_如何学Pythonments/But to enable moderation of comments I think I need to do either of these in the head section of my site:
<meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/>
<meta property="fb:app_id" content="{YOUR_APPLICATION_ID}">
And also add some namespaces to the <html>
tag.
The application ID method seems better than user ID for moderating a large number of comment pages. At the moment I have a Facebook "Page" with 1,000 or so "Likes". I don't have a Facebook application.
So here's my questions:
Do I need to create a Facebook Application in addition to my Page?
Or can I use the Facebook Page ID instead of the App ID? Does the name of the Application need to match that of my Facebook Page? Is any link created between the Facebook Application and the Page? Or is the application purely for internal purposes and not accessible by users?I don't want this to be Javascript. Iframes seems like a better solution so the comments load asymmetrically. JS can block the page load.
Cheers, B
Any time you make an application that will use facebook you need to make a facebook application on their developers website. Pages are different from applications. The only thing that I ever use a page Id for is likes, thought there are other uses for them
Your application does not need to match the page, but you may want to
A) Make it a tab of that page
B) Disable Stream post URL security
on the developers page (better for you I think)
There is an article about this on: http://codeitdown.com/facebook-comments-moderate-button/ Short answers are:
Do I need to create a Facebook Application in addition to my Page? Or can I use the Facebook Page ID instead of the App ID? You need an application in addition to your page to enable "advanced" moderation. The page ID cannot be used.
Does the name of the Application need to match that of my Facebook
Page? NoIs any link created between the Facebook Application and the Page? Or is the application purely for internal purposes and not accessible by users? You can link your application and page or just don't tell anyone about your app and use it for moderation only.
精彩评论