I would like to know how to make a Facebook share link, of which has a return value to go to a different page. I have read that, although still available, the Facebook Share button was deprecated when Facebook launched the like button and the Like button contains of the sum of likes, shares and messages of URL.
For this question I am using a different situation, of which is very much the same. Once the user clicks to share, it will open up a JQuery dialog with an iframe in side of the Facebook share. Upon the user clicking to share, I would like to know how to listen for this so I can add to my own custom share button with counter and then to also redirect to a different URL which offers on for them sharing our
I have created a basic Dialog with a button to open it on JSFiddle: http://jsfiddle.net/kbJ57/
<a href="#" id="open">Share This!</a>
<div id="dialog-message" title="Share on Facebook!">
<p>iFrame goes here</p>
</div>
This this example, please just show something like Google after the user has shared and any random page to share if you are able to help out with programming this, and I thank you so very much if you do.
Best Regards,
Tim
Edit: Looking at a page of a game I play, there is a share button at the bottom so I gather you can still do shares, I'm just not sure how to. (the link: http://services.runescape.com/m=news/behind-the-scenes-april-2013 )
The short answer is that you need to create a facebook app and integrate that into your website in order to do sharing.
See developers.facebook.com for more info. As far as I know there isn't an "easy" way to do facebook sharing as it requires that the user authorize you to post on their behalf.
EDIT: I misunderstood the intent of the asker initially. Try using the facebook sharer: www.facebook.com/sharer.php?u= [the url you want to share properly escaped]
Format the metadata of your site using the opengraph tags to have facebook pick up the content. Good details here: http://alistapart.com/article/like-able-content-spread-your-message-with-third-party-metadata