pluginsfacebook-iframefacebook-commentsiframe-app

Using the Comment Plugin with an iFrame App


I'm trying to create an iFrame application with some static content and a comment 'wall', where users can contribute to a discussion on the topic of the app.

I've used the Comments Plugin like so:

within the code of the application page (/appfolder/index.php):

<div class="fb-comments" data-href="http://www.clientwebsite.com/appfolder/share.html" data-colorscheme="light" data-num-posts="20" data-width="510"></div>

Note: share.html is a small page containing META information such as the user accounts of the admins who need to be able to moderate comments, a page title, description, and a redirect command which points back to the actual facebook.com/BrandPage?sk=appidxxxxxx

I've defined the appId in share.html, and this gives me access to the full moderation set (so I think), but my problem is that I cannot find any settings for allowing users' posts to display for all users by default.

The documentation for the plugin says: "Admins can choose to make the default for new comments entered either “visible to everyone” or “has limited visibility” on the site (i.e., the comment is only visible to the commenter and their friends), to help mitigate irrelevant content."

When I post comments as a test user on the app, they don't show up when I log back in as a developer, nor visa-versa. It seems users can only see comments THEY posted.

WHERE Can I adjust this setting? Is it unavailable due to the way I'm using the comment plugin (Iframe app?)

Thanks in advance..


Solution

  • The issue here seems to be the limitations of test users; Specifically that actions performed by test uses are only visible to other test users. They exist in their own sandbox.

    Here are a list of relevant limitations taken from the Facebook documentation on test users -

    • Test users can interact with other test users only and not with real users on site.
    • Test users cannot fan a public Page or create public content on them like writing on a Page's wall. A Test user can however view and interact with the app tab on the Page if they are associated with that app.
    • They can be accessed and used by any developer of the associated app.
    • They only have test privileges on the associated app. This implies that they can use the app in live mode or sandbox mode but cannot edit any technical settings or access insights for that app.