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/
Related
I read a while ago that the sharer.php script was being deprecated in favour of the "like" button. I just headed over to developers.facebook.com and found an article explaining how to use the sharer.php. Does this mean it's back?
Yes the sharer.php is back and here are official examples on how to use it: https://developers.facebook.com/docs/plugins/share/
One main advantages of using the sharer.php is that you can have big images in your posts.
If you follow the guide at https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content/ and use the javascript FB.ui dialog, you will never get big images.
The only way to get big images in your post is to use the sharer.php.
Does this mean its back?
Yes, it is.
The re-introduced it together with the new native share dialogs for iOS/Android apps:
https://developers.facebook.com/blog/post/2013/07/11/four-reasons-to-upgrade-to-the-new-share-dialog-for-ios/
https://developers.facebook.com/blog/post/2013/08/20/new-tools-for-android-developers--updated-sdk--share-dialog-and-more/
Does anybody happen to know a good tutorial on placing the ‘I like it’ button into the application?
I’m especially interested in Facebook SDK 3.0 and the so-called Built-in Like button.
So far, I’ve been searching through google and stackoverflow but I haven't found anything about SDK 3.0.
Publishing a built-in like is very similar to publishing a custom Open Graph action. The best resource for learning about publishing built-in likes is Facebook's reference page:
https://developers.facebook.com/docs/opengraph/actions/builtin/likes/
Please see this post regarding likes and this post to see an alternative of adding a like button.
Ideally you could create a html iframe that links to the page. obviously this would open up the webpage to the link of the facebook like button. atm i believe that's how temple run achieve this. does the trick. They're getting many likes from users directed from the ios app temple run itself.
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.
I have a one site , there I want to place a Facebook share button after the sharing the url or link return back on the site and show the coupon instead of share button.
We are waiting for the answers.
If any one give the right answer or make the script , I will give the some bouns.
From the Facebook official documentation:
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.
I don't know specifically how to redirect to your site, however I suggest you to switch to like button in any case
I'm no lawyer, but it appears that forcing a person to share something is not correct
https://www.facebook.com/promotions_guidelines.php
You must not
condition registration or entry upon the user taking any action using
any Facebook features or functionality other than liking a Page,
checking in to a Place, or connecting to your app. For example, you
must not condition registration or entry upon the user liking a Wall
post, or commenting or uploading a photo on a Wall.
You should have your corporate attorney take a look at this before proceeding further with forcing a share.
Like is easy to do and is explicitly permissible. See:
http://developers.facebook.com/docs/reference/plugins/like/
Facebook's sharer.php is no longer deprecated but I suggest you switch to using dialog/feed to steer folks back to your coupon.
<a id='fb-share' style='text-decoration:none;' type='icon_link' onClick="window.open('https://www.facebook.com/dialog/feed?display=popup&app_id=YOUR_APP_ID&link=THE_PAGE_WITH_THE_SHARE_BUTTON?&description=MY_AWESOMENESS&redirect_uri=THE_PAGE_WITH_THE_COUPON&picture=URL_OF_A_PRETTY_IMAGE', 'mywindow', 'toolbar=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=580,height=325');
return false;" href="javascript: void(0)">Share on Facebook</a>";
I can not find a TOS violation for offering coupons to those that like or share.
I have a quiet and minimal site that I'd like to add a "share on Facebook" link to. My preference would be for a simple text link. Is this possible anymore?
You have very good documentation on this topic.
http://www.facebook.com/share/:
Regardless of the implementation,
Share always uses the url format below
to show the user the preview. Feel
free to create your own implementation
based on this.
http://www.facebook.com/sharer.php?u=&t= We also
provide an API to query data on shared
items.
Something like this:
Share on Facebook
You may also consider using window.open() to provide a appropriately sized window.