Facebook Like or Twitter Share Buttons?

Hi,
I know this has been asked a few times but I found that the solutions were either outdated or did not work correctly. Can someone help me figure out how to add a Facebook Like or Twitter Share to the Stage for a specific link:
http://www.youtube.com/watch?v=B7X6jMDPb7w&feature=player_embedded
I really appreciate that help.
Adam

Hi,
How to start solving this issue?
Reading this: https://gist.github.com/1025811, then
this: http://css-tricks.com/snippets/javascript/async-sharing-buttons-g-facebook-twitter/
Therefore using Edge, you can try this code:
yepnope({
         load: [
         'http://apis.google.com/js/plusone.js',
         'http://platform.twitter.com/widgets.js',
         'http://connect.facebook.net/en_US/all.js#xfbml=1&appId=200103733347528'
         callback: init()
function init(){
         $('<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>'+
         '<div class="g-plusone" data-size="medium" data-count="true"></div>'+
         '<div id="fb-root"></div>'+
         '<div class="fb-like" data-send="false" data-layout="button_count" data-width="1" data-show-faces="false" data-action="recommend"></div>').appendTo("#Stage");
This code needs to be improved reading: Facebook API, Tweeter API, Google API. You have to be authorized, etc.

Similar Messages

  • Twitter share button in toolbar not working

    I have not been using the Twitter/Facebook/E-mail, etcl share button in the Safari tool bar regularly, but it has worked in the past. Today when I tried to use it to share a web page to Twitter, I received an error message stating that the post failed. I have the latest version of Safari using Mountain Lion OS. Does anyone have a solution?

    It happens the same to me and can not find a solution. I uninstalled the app, reinstalled and repaired permissions ... can anyone help?
    Thank you.

  • Twitter share button in notification center not working?

    I finally got my code for my free upgrade to Mountain Lion... I updated my computer last night and everything seems to be working well.  Other than the fact that they decided to leave the Facebook integration out without saying anything until last minute (that's the feature I was really looking forward to).  But anyway I woke up this morning and I went to send a tweet from the notification center.  The button is there but when I click it nothing happens.  I've removed my twitter account and readded it.  i checked the box to remove the share button and readded.  I restarted my computer twice and nothing... Anyone have any ideas?

    I know the ans...first install os x mountain lion again above all your installation..then see the build it should be.. (12c60) then..update every thing..but dont install or update..."update for macbook pro and macbook air 2.0 "it is the culprit ...then hide that update..and remember to install offline version of combo and supplement update 10.8.2..ok..as sometimes when ur notification cetre not work then installoffline "combo and supp" updates...ok..REMEMBER NOT TO INSTALL MACBOOK AIR AND MACBOOK PRO 2.0 UPDATE...PLZ...AND USE UR SYSTEM...!! follow me https://www.twitter.com/ankit8083   https://www.facebook.com/ankit8083...good luck..DONT CHANGE UR BUILD..AS IF U WILL CHANGE IT THEN UR SHARE BUTTON WILL NOT WORK..IN NEW BUILD..!!And wait for apple to get new build after april 2013...but not download macbook pro and macbook air 2.0 update..which help in graphical improvements and some usb devices...!!

  • Twitter Share Button

    I am trying to make a share on Twitter link within Edge. I have an image and then on click you go to the URL using this code: 
    "window.open("http://twitter.com/home?status=Hello world! Check out this link http://www.test.com #testingEdge", "_self");"
    Everything works just fine, execpt for the the hash tag. When you click through what should read "#testingEdge" just displays "/"
    Is there a better way of sharing links on Twitter via edge, or should I just omit the hash tag?

    I know the ans...first install os x mountain lion again above all your installation..then see the build it should be.. (12c60) then..update every thing..but dont install or update..."update for macbook pro and macbook air 2.0 "it is the culprit ...then hide that update..and remember to install offline version of combo and supplement update 10.8.2..ok..as sometimes when ur notification cetre not work then installoffline "combo and supp" updates...ok..REMEMBER NOT TO INSTALL MACBOOK AIR AND MACBOOK PRO 2.0 UPDATE...PLZ...AND USE UR SYSTEM...!! follow me https://www.twitter.com/ankit8083   https://www.facebook.com/ankit8083...good luck..DONT CHANGE UR BUILD..AS IF U WILL CHANGE IT THEN UR SHARE BUTTON WILL NOT WORK..IN NEW BUILD..!!And wait for apple to get new build after april 2013...but not download macbook pro and macbook air 2.0 update..which help in graphical improvements and some usb devices...!!

  • How to easily add Facebook, Digg, Twitter, Share (for email links) to page...

    Hello,
    I would like to add a few of those Facebook "Like", Digg, Twitter, etc. buttons to a client's page.
    I looked at Facebook and I think I can get the code there for Facebook; but, do I have to do this for each site? Or, is there someplace where I can get the code to add several of these links at once? You know the type where you click on a "like" button and a pop-up window come up where you have to add your user name and password for the service you want to connect to...
    (Sorry, I'm an old graphic designer trying to offer web services. It seems that I have to learn things all over again. So, if you could, please be a little thorough. Thank you!)

    http://www.addthis.com/

  • How do i add a facebook share button to my webpage

    how do i add a facebook share button to my webpage

    I use a Facebook logo and then encourage people to like the page. But I do have a couple of clients who have asked me to do this.
    Here's the link on Facebook's site for share buttons:
    https://developers.facebook.com/docs/plugins/share-button/

  • In mountain lion upgrade, the share button in safari does not include facebook as advertised, how do I install it.

    why is there no facebook in the safari share button as advertised, only the twitter, and imessage button

    It is advertised that facebook integration will be available this fall.  see http://www.apple.com/osx/whats-new/

  • Facebook Share Button workaround?

    I'm setting up a blog on my website with Muse.  I'd like to be able to allow users to share my blog posts on Facebook.  Since there is no Facebook "share" budget widget in Muse, what is the recommended workaround?

    If you use the standard facebook like widget, and turn on the 'show send' option, you'll get a share button in addition to the like button.
    If you want just a share button, you can generate the HTML for one one facebook's site:
    https://developers.facebook.com/docs/plugins/share-button/
    Then you can copy that HTML and paste it into Muse as embedded HTML.

  • I don't have a facebook share button in safari

    just upgraded to Mountain lion and noticed no Facebook share button in Safari.  I have the Twitter share button, but not the Facebook one.  Can I add it?

    Confidential Information will not include information that is generally made available to the public by Apple. I made a general comment about a feature that Apple has generally provided information on.

  • Need help with adding Facebook share button

    I need to add a simple Facebook share button in the row of social share buttons at the bottom of the page http://www.ottawapatentagency.com  I just need a simple button, I don't need any counts, nor any analytics. I tried to insert the code from the Facebook developers pages and follow the instructions, but I can't do it.
    I am neither a Facebook developer nor a programmer, for that matter, help!

    Have you created your Facebook share button code from the Facebook resource page below:
    Share Button
    Once you have done that copy the code and paste it in your pages code, directly after the opening <body> tag.
    Then add the <div> in which your Facebook share button will appear directly before your Google plus <div> (see below)
    <div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-width="200" data-type="button_count"></div>
    <div class="g-plus" data-action="share" data-annotation="none" data-href="http://www.ottawapatentagency.com/index.html#reaching_out"></div>

  • How to add a google+ share button to a composition?

    I am working on a little app for which I want to add share buttons.
    I don't have problems adding Facebook share and Twitter buttons, However I cannot find a way to add a Google+ share button.
    For FB I create a rectangle and name it fbBtn. Then on click I add the foolowing code:
    FB.ui({
              method: 'feed',
              name: 'Win designer fashion jewelry from Baloka',
              link: ' http://www.mysite.com/',
              picture: 'http://www.mysite.com/external-xfbml/share-image.gif',
              caption: 'Win designer fashion jewelry from Baloka',
              description: 'Baloka is giving away 22 designer fashion jewelry by Maria Mizrahi. Check this out. Do you want to win? You could...',
              message: ''
    For Twitter I create a rectangle and name it twitterBTN. Then I add this code to document.compositionReady:
    var twitter = sym.$("twitterBTN");
    var c = '<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://baloka.com/content/socialApp/fb.html" data-text="Win cool trendy designer fashion jewelry - check this out" data-via="BalokaDesign" data-count="none" data-hashtags="BalokaSweepstakes">Tweet</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id =id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(docu ment,"script","twitter-wjs");</script>';
    twitter.html(c);
    For Google + I found two ways to add a share button:
    First:
    Adding this snipped to the html document (not in EA):
    div class="edgeLoad-EDGE-467457915"><a href="https://plus.google.com/share?url={http:baloka.com}" onclick="javascript:window.open(this.href,
      '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img
      src="https://www.gstatic.com/images/icons/gplus-16.png" alt="Share on Google+"/></a></div>
    and adding this to the head:
    <!-- Add the following three tags inside head. -->
        <meta itemprop="name" content="Baloka Sweepstakes">
        <meta itemprop="description" content="Win designer fashion jewelry by Maria Mizrahi - Baloka.
        There are 22 prizes including earrings, bracelets, necklaces and a couple of $100 gift certificates.
        Please share with your friends.">
        <meta itemprop="image" content="http://cdn2.bigcommerce.com/server2100/a154e/products/102/images/243/LittleTotemEarrings__ 55527.1355162788.1280.1280.jpg">
    This works as expected, but I am having a hard time position the button in the right place on my page. I can see the button in EA, but the position I set it in there is not maintained once the file is published.
    Thus, I would like to know how to include the code directly in EA as I am doing with the Twitter and facebook buttons.
    Second:
    Adding this to the html document (not in EA):
    <div id="gplus1" data-action="share" data-annotation="bubble" class="edgeLoad-EDGE-467457915"></div>
    <!-- Place this tag after the last share tag. -->
    <script type="text/javascript">
          (function() {
                    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                    po.src = 'https://apis.google.com/js/plusone.js';
                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
      </script>
    Again, this works, although with this code I don't know  how to customize the name, description and image for the info I am sharing.
    In this case I was able to include the code on EA adding the following to document.compositionReady:
    var googleplus = sym.$('googleplus');
    var click = "javascript:window.open(this.href,'', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');";
    var g = '<a href="https://plus.google.com/share?url={http://baloka.com/content/socialApp/fb.html}" onclick="click";return false;"><img src="https://www.gstatic.com/images/icons/gplus-16.png" alt="Share on Google+"/></a>';
    googleplus.html(g);
    The problem here is that instead of opening a window, it replaces the page with the one supposed to be on a different window, which I don't like.
    So, in short, I need some help figuring out how to include the code directly in EA for the first method for Google+.

    I don't have an answer for you, but I do have a question. You said the FB code works. What did you do? What did you put in your html page? I tried the FB code above and it gives me an ID error. Appreciate it if you can elaborate more. I just posted the ff in the forum "Customizing FB Share in Edge Animate"
    Thank you!

  • Facebook, G+ and twitter only work in muse, why not when html is exported?

    Below are the three codes I placed in Object/Insert HTML on my Master page, plus partial screen shots of the two results. When I previes, preview in browser and publish from Muse to a BC platform, all looks as I planned and the button function.  But, when I export the HTML to upload to my host, it becomes corrupted and nothing functions.  Since there is no real support (Phone support won't help if they know I'm using an outside host) there are no manuals and most of the member responses are very short on specifics for people like me who are not HTML literate.  I use Muse because I was told I didn't need to know coding, but it seems not to be entirely true. PLEASE - I need to resolve this issue - and I haven't even started trying to put in 'snippets'
    thanks
    jm
    THIS IS THE TWEETER CODE: ALL THREE WERE IN IMPORTED USING MUSE 'INSERT HTML'BOX
    <div id="twitter_div"></div><a href="https://twitter.com/share" class="twitter-share-button" data-via="VehicleHound" data-count="none">Tweet</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id =id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(docu ment,"script","twitter-wjs");</script>
    THIS IS THE GOOGLE G+ CODE:
    <!-- Place this tag where you want the +1 button to render. -->
    <div class="g-plusone" data-size="medium" data-annotation="none"></div>
    <!-- Place this tag after the last +1 button tag. -->
    <script type="text/javascript">
      (function() {
        var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
        po.src = 'https://apis.google.com/js/plusone.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    </script>
    THIS IS THE FACEBOOK CODE:
    <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fvhound.com&amp;send=false&amp; layout=button_count&amp;width=200&amp;show_faces=false&amp;action=like&amp;colorscheme=lig ht&amp;font=verdana&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe>

    I have not launched the lastest exported HML from my host's server because I cannot have it go up until I know it is going to work. The version I am basing my fears on is the site that opens in my Chrome browser once the HTML export from Muse is completed. The next step for me is to FTP if to my host.  I suppose I could upload it in a different forder and then point to it and test it, but usually what I see on my browser after a Muse export is what I get when I launch it.  This is the version of my site that's up now:  http://vhound.com   This is the BE version that I publish to check my work before I export HTML : http://vhoundbusiness.businesscatalyst.com/index.html 
    Thanks for responding and I look forward to your magic.
    jm

  • Add Social Media or "Share" buttons to my blog

    I would like to add share buttons (facebook, twtiter) to my blog, right under the title and date of each article. Where can I add this? Is there a tuturial available for this?

    I use AddThis for social sharing on blog post. I insert their code in Layouts > Blog > Post. It depends on your code as to where you insert the code to show below the title.

  • Share Button and Notification Center Problem -  Facebook and Twitter

    My share button (Safari) does not work with Facebook. When I click, it freezes Safari. And Twitter and Facebook Notification Center also not work. I click and nothing happens. My ML is already updated, but not solved the problem.

    I know the ans...first install os x mountain lion again above all your installation..then see the build it should be.. (12c60) then..update every thing..but dont install or update..."update for macbook pro and macbook air 2.0 "it is the culprit ...then hide that update..and remember to install offline version of combo and supplement update 10.8.2..ok..as sometimes when ur notification cetre not work then installoffline "combo and supp" updates...ok..REMEMBER NOT TO INSTALL MACBOOK AIR AND MACBOOK PRO 2.0 UPDATE...PLZ...AND USE UR SYSTEM...!! follow me https://www.twitter.com/ankit8083   https://www.facebook.com/ankit8083...good luck..DONT CHANGE UR BUILD..AS IF U WILL CHANGE IT THEN UR SHARE BUTTON WILL NOT WORK..IN NEW BUILD..!!And wait for apple to get new build after april 2013...but not download macbook pro and macbook air 2.0 update..which help in graphical improvements and some usb devices...!!

  • Facebook like & twitter tweet buttons disable my animation from starting

    Hi,
    I have just added social media buttons (G+, tweet, like) to my web page and they seam to interfereing with my animation. I am using the HTML method for facebook like, however if I use IFRAME method everything works fine in Firefox and Chrome BUT NOT Safari. Also I don't wish to use the IFRAME as when the user clicks like the post popup does not display.
    Predominently Safari seams to be most problematic. I have tried moving the JS to the end of the file etc but nothing works. Also my html for the buttons is after the edge animation html.
    Is there a way to get these buttons to work whilst not interfering with my animation from loading and playing.
    Here is my page http://goo.gl/d948f
    P.S If you reload the page a couple of times it fixes itself.

    First, I would eject whatever it is that you downloaded. Go to Finder and eject it that way or depending how you have your system set up, do the two finger tap and Eject it. Download the link above. Once it downloads, double click it to install it. It should work. If it doesn't you need to use your Disk Utility to check for errors. Click your Finder again and then Applications. Scroll down to Utilities and then Disk Utility. Click on your hard drive and you will get a menu of items on the right side. Towards the bottom, you will see a button to Verify Disk Permissions. Click that and let it run. It may take a few minutes to finish. Once it's finished there may be a list of things wrong with your system. Click the Repair Permissions and let the computer do it's thing. Use Disk Utility at least once a month to make sure everything is in order on your system. If this doesn't fix it, I don't have any other suggestions. I'd hate to say do a fresh install but that might be the next step if this doesn't work.
    Something else to consider is that is if you use Time Machine and the system did work at one point, you could go back to the last known good point and reinstall that back-up. You would lose anything you have saved since that point (obviously). If you take steps to back up your information, that should not be an issue. (For me), Time Machine works as advertised. If you are not backing system up regularly, shame on you. You need to start ASAP backing up. It's an easy process and it's times like you are having now, that make the small preventive maintenance, worth extra time and effort.
    Good luck.

Maybe you are looking for

  • Application Payment Issue

    I paid for two application through my HDFC bank netsafe credit card, i downloded the application and after some time the payment was reversed. My bank is saying that apple has not accepted the payment. Now i am not be able to download any application

  • ABAP Code in End Routine - reverts back to previous version

    Team: Currently, we are in upgrading from 7.01 to 7.4. The new development environment is only used to built the new development work until the mirror image client is upgraded. In one customised dataflow, we place some code and the transformation is

  • Error while starting Managedserver for 2nd server in cluster

    Hi we have 2 Unix servers of which one has Admin and managed server and second has only managed server. while starting managed server for 2nd unix server we are getting below error though it is in running state: KINDLY HELP!! changed Location=site:XX

  • Can't use the facetime function

    I can use the wifi for Internet browsing, and also we have checked our broadband supplier, they stated that there is no problem with the wifi setting, but unfortunately, i can not use the FaceTime function, sometime even I can not access my apple ID,

  • HT1925 Cannot remove Apple Mobile Device Support from Control Panel

    I am trying to reinstall iTunes.  Followed all instructions but still cannot remove Apple Mobile Device Support from the Control Panel. Help.