Facebook Comments Box: Restrict the ability to comment under certain circumstances - facebook

I am trying to add the Facebook comments box to my site.
The problem I am having is that I want to disable the ability to post under various circumstances. An example of this would be "If the user is not logged in: Show all of the comments so far, but instead of the ability to add comments, display a "Sign Up to Comment" button.
Right now, the best idea I can come up with is to just remove the whole comment box and replace it with the aforementioned button thus getting rid of all of the existing comments. This will not work for my purposes, because there would be no incentive for the user to sign up using this method.
I have looked into trying to create two versions of the comment box: one with the permission to post, and one without. However, I did not seem to find any way to do this.
Now I am just completely out of ideas.
Any help is very much appreciated.

The Facebook comments plugin is limited as to what it can do. All of the options are documented on the developer site. I don't see where you could specify how it is displayed like you want. I would suggest building your own facebook app to do comments, then you have full control over how comments are displayed.

Related

Is it possible to know who liked my website page/post?

I want to know who are the people who liked my websites page/post. (I'm talking about like buttons inside websites and not on a simple facebook page, just to make this issue clear).
I googled this issue, and most of the answers were that I just cant do something like this, but found one answer of someone who said that I can use this: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/v2.0
to find out who liked my website page/post, But he didn't explain.
I'm not an expert, but if that's true and I can pull out the names of the users that liked my website page/post, they should first accept that their private info is being passed to an outer source.
Anyway, I didn't understand anything from the page and how this thing should help me solve the problem.
Thanks for the help and your time :)
That's not possible IMHO. The events do not Return any user data, as described in the docs.
But if you're using the JS SDK and have authenticated Users on your website, you could use the "edge.created" event in conjunction with the Element ID of the like button to find out the user liked the page/post.

Facebook Like button - only 1 line whhen no comment

Im using Facebook's like button plugin on my own website product pages, also using opengraph tags
http://developers.facebook.com/docs/reference/plugins/like/
Everything seems to work fine, the problem is when people 'like' a product, the comment box shows up but if they leave it empty only single line is posted on their feed like:
Jon Doe has liked "title here".
But when they write that comment when they click Like or even post the the link manually all the image,text,description information is correctly displayed.
Anyone knows how to fix this?
Well, that’s the basic difference between a like and a share. Since Facebook has merged these to functionalities into one social plugin, it’s up to the user which action he takes.
The old share button has been deprecated, so not much use in implementing it now, because even if it’s still possible(?) it will stop working eventually.
If you want shares instead of likes, your one alternative IMHO is implementing the Feed Dialog on your site, triggered by a click on a button of you own making.

New open graph settings

I am using Facebook comments for my wordpress blog, so far evertyhing was working good, but recently, when the user comment on my site, their comment doesnt get posted on their profile even though they thick the option saying publish this on facebook at the comment box. Is there any recent setting or option to fix this problem? Or how can I test and see what is the cause of the problem?
And, Open graph brings pretty nifty cool options and settings, do I have to change or specify any special options for the comment box used on my site?

Do I have to have a website in order to have a page on FB?

I offered to set up a FB page for our upcoming 30th high school reunion. I went in and created the page, but cannot seem to figure out how to add the "LIKE" button. Everything I have read: Getting Started / Websites https://developers.facebook.com/docs/ as well as the Social Plugins page https://developers.facebook.com/docs/reference/plugins/like/ all seem to begin with the assumption that I have a website. I don't have one.
So my bottom line question is: do I have to CREATE a webpage (outside FB) in order to move ahead with adding the social plugins?
Obviously I am a newbie, have no technical experience but can read and follow directions.
Solutions, O Great Ones?
If you create a page, other users will see a Like button on the page. So, they can like that page and then you can publish posts to it. This is a good way to keep people informed, involved, and engaged.
That's what the plugins are for (to include in html), they are not necessary to use to just have a page.
You might not see the like button because you created it, i'd imagine.
You don't need to have a website in order to use the Social Plugins, but it does help. Otherwise, you need permission to use the HTML on websites / pages you don't own but have access to.
E.g. You can ask your school to add the Social Plugins to their existing website that will let students like the fan page you created.

Is the Facebook "Share" button being deprecated?

I have a business requirement to add a Share on Facebook button to a site. There are a lot of links on the web that point to this page but that just points to the page about the like button. Considering there really isn't any talk of a Share button on that page, makes me think it's going away.
This blog post from 2009 talks about the Share button. I didn't see, when I searched, any mention about the Share button being phased out.
I'm unclear on whether I should implement this with sharer.php or whether I should tell the business that "Share" is on the way out and we should just implement "Like".
I have seen some blog posts that suggest Share is deprecated, but nothing official from Facebook.
It is not deprecated per se, but we do want developers to move the Like button.
Official word from Facebook on the sharer.php being deprecated and not supported: http://developers.facebook.com/docs/share/
The Share button has been deprecated in favor of the Like button, and will no longer be supported. Please use the Like button whenever possible to drive maximum traffic to your apps.
2014: The sharer.php has been well..undeprecated. It figures, as this method has been used on millions of sites and was still being used even when the docs were previously saying that it was deprecated. Links in the old format will use the new share button functionality:
https://developers.facebook.com/docs/plugins/share-button/
This new Share Button works with a new version of our web-based Share Dialog. When using the sharer.php method of invoking the Share Dialog, this dialog will also display the new version without any changes required.
And:
Can I use the Share Dialog without using the Share Button?
Yes, although we recommend using the Share button to offer the
simplest and most consistent experience for people using your site,
you can invoke the Share Dialog using a link:
I believe it has been deprecated in favor of an improved Like button that has similar functionality. The language can be tweaked to 'Recommend', but I found these articles when doing similar research.
http://mashable.com/2011/02/27/facebook-like-button-takes-over-share-button-functionality/
http://visiblefactors.com/blog/994-facebook-likes-meta-data-thumbnails/
Hope it helps.
I don't know of any plans to deprecate the share bookmarklet (which is sharer.php). The deprecation I think you're thinking of is the deprecation of the <fb:share> tag, an XFBML tag which basically did the same thing as <fb:like> before <fb:like> came into existence. Now, they're redundant, so I think <fb:share> is gradually being phased out.
Using the Like button is probably the right way to go in most cases, but if you don't want to make an app id and want a simple quick method, just do this:
Share on Facebook
You can replace the Share on Facebook with an image or whatever you want. Facebook docs reference: https://developers.facebook.com/docs/reference/plugins/share-links/