Deleting Facebook comments on my website - facebook

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!

Related

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

Facebook comments on site post to Facebook profile, but unable to like the published post or comment (on the comment)

I have tried using all different plugins (facebook, facebook comments, seo facebook comments, and more), I have even added the application manualy (https://developers.facebook.com/docs/plugins/comments/ using html5 plugin code). All options do the same thing.
Comments show up that is all fine. Readers are able to comment on the website through the box, thats fine too. But then when I want to publish to facebook, all seems good too, it will publish it. But when I go to facebook and click on the published comment, it is not possible to like or comment (on the publish comment). Facebook shows the comment on the timeline, but clicking on it gives this message:
"Object cannot be liked
Unable to like this object because it is not accessible (it may have been removed or you may no longer have permission to see it)."
I can click the link in "John Doe has commented on a link" and it will take me to the page however.
Some other strange things that happen are (on the actual wp post) when you comment and have the "post to facebook" box checked, it won't publish straight away, but give the message "This comment has not yet been published to Facebook. Publish Comment". Only after clicking publish comment will it ask permission to publish on my profile.
And then when you want to delete the message, it will say "Oops Something went wrong. We're working on getting it fixed as soon as we can." Click delete again and it deletes. No fail every time on the second time after that message.
Please help me out, before I go crazy :P Website is tryajuice.com
I am also using Yoast WordPress SEO: Social, OneAll social login, which might influence it, but deactivating them all doesn't make a difference, unfortunately.
Any help will be much appreciated.

Like a Page, Newsletter Opt-In and Questions

first time Facebook developer so was hoping for some guidance. Been given a very brief spec:
Requirement is to run it where fans have to give email (so that we can
contact winners) with opt in for newsletter sign up and also must FB
like VF to be entered into prize draw. There will be options to choose
from. They choose one and can't vote more than once.
So I'm thinking about a Facebook application that sits as a tab on the facebook page. If the user hasn't "Liked" the page, they'll be encouraged to "Like" the page in order to proceed.
If it's liked, they'll have an option to opt into our newsletter. They will also be allowed to answer one question with one answer. When they submit it, they will then be entered into a competition.
If they pick the "right" option, we will send them an email telling them so.
Right - does this sound fairly straightforward? Are there any guides, examples or tutorials that could help? Am I going about it in the right way?
Many thanks in advance,
JJ
That sounds very straightforward and you are going about it in the right way.
The best tutorials and examples can probably be found in the Facebook Developers documentation and in the example files within the PHP SDK (http://github.com/facebook/php-sdk/)
To find out if the current viewing user has liked the page or not check out the signed request that Facebook passes to your app tab. It contains this and a lot more useful information http://developers.facebook.com/docs/authentication/signed_request/
What you have is pretty much how the majority of companies are pushing forward with Facebook. They are driving up the Like count by forcing users to Like the page before getting to their goodies. There are lots of examples on the internet as to how to create a page which checks if the user likes the page. As you've not stated what programming language you are going to be tackling this in, it is going to be hard to point you in the right direction.

Tweet (or facebook) status update from iPhone with predefined Text

Hey,
sorry to bother you again, but I can't get this to work and would appreciate a working example project.. I try to give my users the possibility to post a short, predefined message from inside my App on either twitter or facebook (both should be available, but it doesn't have to update both on the same action, so one button to "share on facebook", one button to "tweet about it", so if you have a solution for facebook, but not for twitter or vice versa, I'd happily take the solution you have, either facebook or twitter and go on searching for the other one). It's my first time trying to interact with facebook and twitter, so I need something like dummy-proof explanation.
I found MGTwitterEngine but it seems to be hell to get it working. I've found Ben Gottlieb's Twitter OAuth-iPhone bundle, inserted my data, "registered" my app, and stuck with a gray screen on my device.
I'd need a working example of an iPhone App Project, that manages to tweet or update the facebook status of a user (maybe after a short and painless(!) login). Than I'd happily fiddle around myself to get this working, but by now I only find links to Desktop-Applications, examples or demos that won't work out of the box, or expect you to have done this several times before -.-
Thanks for your help, and sorry if that is an easy question, but I can't find the answer I need..
Perhaps the easiest way to be able to publish to a number of different services is ShareKit. This supports sending messages to Twitter, Facebook and a bunch of other services.

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.