Tying in facebook comments plugin with Facebook Developer App - facebook

First off, thanks for taking the time to read this.
I have successfully added the facebook comments plugin to multiple pages on my website. I am looking for the central location to view all comments made on my website, and to moderate them.
From my google research I have found that I need to create a "Facebook App" that is assigned to the comments plugin, ad myself as an administrator, and thats it.
I was able to create my facebook developers account, and I stumbled through trying to make the associated comments app, but I have been met with utter failure :(
How do I create a Facebook app that is tied into the facebook comments plugin on my site? Can anyone point me to a good resource?
Thanks
Alex

Two possible ways to moderate comments from the Comments plugin:
1
Add this <meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/> with YOUR_FACEBOOK_USER_ID correctly set to your <head>.
You should since be able to moderate comments.
Note:
to add multiple moderators, separate the uids by comma without spaces.
2
Now, if you wish to have a larger control over your app:
Add this <meta property="fb:app_id" content="{YOUR_APPLICATION_ID}"/> with YOUR_APPLICATION_ID correctly set to your <head>,
In the app's settings, you will be able to add as many administrators as you want,
Moderate comments from here through one administrator's account.

Related

Develop tweaks to facebook like app

I am doing a hobby project by implementing a phd paper on 'The privacy issues on facebook' and it suggests some tweaks to the existing facebook remove tag option like including an additional setting like 'Review posts in which you are tagged in before the audience of the post see in their News feed'. So the point being I am required to tweak facebook webpages to include these options.
So can someone give me ideas on ways to achieve it ?
My groundwork includes checking out tamper monkey to dynamically run user scripts on loading
Can this be achieved with tamper monkey or is there any developed mock facebook apps on github which I can make use of ?
Any help would be appreciated!
I have achieved it using TamperMonkey by executing scripts corresponding to the tweaks likewise suggested in one of the comments
Here is a project which contains tamper monkey scripts to perform few tweaks corresponding to facebook page
https://github.com/aarishramesh/facebook-privacy
It contains scripts for the following
Display picture privacy
Profile visits
Review posts in which you are tagged in before the audience of the post sees the post in their feed

Facebook app id for website social plugins

I have like/share buttons on my website and am not currently using an appid. Finding information on whether this is a necessity for the above configuration is difficult to confirm. When going through the Facebook app "create" forms, I'm really confused by a lot of the requirements as it seems to be more focused around actual apps rather than websites, which login via fb etc.
In the past I have created an app for one of my other websites and I don't believe there was any verification/submission process at this point (about 2-3 years ago). Reviewing my old app configuration now I can see that it is not "live" - does anyone know whether Facebook implemented this submission process in the last couple of years, and then de-activated any live apps that were created prior to this?
I now want to setup a new app for my new website and I'm unsure what the different 'action types' mean and what I would need to simply use like/share buttons on the website. Could someone give me a quick run down of what I'd need and what they are?
Any other info/tips people can provide would be greatly appreciated. I'm finding that the like/share DO still work without the app, but sometimes the share button doesn't work properly (I have a feeling this is something to do with the app).
Thanks
If you are just using the Social Plugins, you don't need to have a Facebook App ID.
If you want more integration, it will be required. Creating an App ID is like registering your App, wether an iOS or Android App or just a website, so that you can make Graph API calls for it.
The easiest way to register your website is to go the quickstart: https://developers.facebook.com/quickstarts/?platform=web (or https://developers.facebook.com/apps). There you can type a name and follow the steps.
You can then follow the "Sharing best practices" (https://developers.facebook.com/docs/sharing/best-practices#tags) on how to use the App ID. For example, by including an fb:app_id meta tag on your pages.
There is a review process, since last April, but that is only needed if you use permissions for your App. If you just use the plugins, that is not needed.
Can you explain more what is exactly not working?
Update
The time you create a page the Facebook crawler does not know yet what the Opengraph data for that one is. This will happen after the first share, but if you want to ensure it is correct from the first share on, you can force a re-scrape.
This section explains how that works:
https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
When an app triggers a scrape using an API endpoint This Graph API
endpoint is simply a call to:
POST /?id={object-instance-id or object-url}&scrape=true

Deleting Facebook comments on my website

I have allowed user comments on my website with "facebook comment" and using the meta tag fb:admins I can hide comments. But this only hides them from people that are not friends with the person who left the comment. I need to be able to delete the comment. Sometimes I don't want friends of the commenter to be able to read it.
There is an option to use meta tag fb:app_id but this needs a facebook app. So I spent 8 hours creating an app as I thought that might do the trick. Before I got a chance to test it I had to upload screenshots and banners and all the rest. And finally Facebook say they will review it. To be honest I have no idea what app I have created as I thought having an empty app might force the delete button to come up when I use fb:app_id.
Googling around here I now see someone said "It's not a real app, it's just what facebook calls it. But how to I create this "false" app and will it do the trick?
Surely I can remove comments on my website if I don't like them? Or?
So, how do I delete comments from the ones people leave on my website? - There must be thousands of people looking for this option. Can't believe it isn't easier!

Publish content on Facebook via RSS

I would like to add new content via some API. I found this site where they say that there is a Imported Sites function which allows to enter a RSS feed and the content will be posted automatically. Is this true? Or better does that work today too?
If yes please point me where I have to set that. Facebook has changed in such a way that their way doesn't work today. Im looping thrue the menus since about a hour without any success.
If this does not work please show me a other way. Thanks!
Since September, this feature has been removed.
We want you to connect with your fans in the most effective ways possible. That's why as of September 30th you'll no longer be able to automatically import posts from your website to your Page notes. The best way to get people to interact with your content is to give them insight into the links you share on your Wall by adding personal comments and responding to feedback from fans.
Source: Why can I no longer import blog posts from my website to my Page's notes?

How to be notified of comments posted via the Facebook Comments Social Plugin

I recently implemented the Facebook social plugin for comments on my blog. I assumed, incorrectly, that I would get a Facebook notification when someone posts a comment to one of my articles. I was wondering if that is a possibility.
I have read references to the use of a event.subscribe function in the javascript SDK, but I wasn't really interested in creating a javascript-based notification dingus but would rather just see the little badge in my Facebook notification window.
I'd love any insight on how others have addressed this.
Thanks in advance!
Just add yourself as moderator under Facebook developers comments tool. That's it. You'll start getting notifications of any comments on any of your blog posts.
Shorter way:
Open this url (am assuming you are signed into Facebook and is administrator of your Facebook app):
https://developers.facebook.com/tools/comments/
Click on settings
Add yourself (or any of your friend/employee) as moderator.
Lengthier way:
Click on 'Moderation Tool' on any of your blogpost's facebook comments.
You must be on Facebook developers page now. On this page, you must be seeing something like 'your app name' > 'the blogpost title' (from where you clicked moderation tool). Here click on your app name.
On this new page, click on settings.
You must be seeing a modal now. Add yourself (or any of your friend) as moderator here.
You must be getting notifications now.
For those who have been struggling to find a way to get notified when someone sends a comment on your page, here's a (sort of) solution.
Assuming you've created an app for your website, add the following meta tag to your <head>: <meta property="fb:app_id" content="YOUR_APP_ID_HERE" />
Then in Facebook Moderation Tool choose your app and click on Settings in top right corner. In settings, choose Moderation rules tab and at the bottom, you'll find an option Closed under Moderation heading. Select this option. By setting Closed option you basically have to approve all comments that are added to your site, but right now that's the only option how to get notified right in your Facebook without setting up custom listeners on comment.create event. That's also why this solution is sort of solution.
Also don't forget to add yourself as a moderator as Saurabh's answer suggests (otherwise you won't get any notification in your facebook).
Easiest way is to just check the Facebook moderation tool. You could build some kind of notification system that pulls comments using the graph api. I haven't seen any alert/notification system yet that somebody has else built but it would be pretty easy.
Unfortunately, even on the doncaprio blog, the owner has noted that
"For some reasons, notifications stopped working for some months now. I'm yet to find a fix for this... seems like an issue with fb or something."
I've come to the conclusion that I have to live with not having comment notifications.