1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook Share/Like Option: Any idea how to create this?

Discussion in 'Programming' started by ScreamingMidget, Feb 6, 2017.

  1. ScreamingMidget

    ScreamingMidget Jr. VIP Jr. VIP

    Joined:
    Mar 17, 2013
    Messages:
    956
    Likes Received:
    100
    Please see attached image.

    I'm wanting to create the same thing, where they can like my Facebook page and/or share the current post/page.

    Does anybody know exactly how to go about doing this?
     

    Attached Files:

  2. Backopy

    Backopy Newbie

    Joined:
    Feb 7, 2017
    Messages:
    17
    Likes Received:
    3
    Occupation:
    404
    Location:
    Sydney
    Hi buddy,

    Facebook have an API just for this. I'm unable to share links yet however if you google search "facebook like button api" and go to the developers facebook page you'll find exactly what you're looking for.
     
  3. ScreamingMidget

    ScreamingMidget Jr. VIP Jr. VIP

    Joined:
    Mar 17, 2013
    Messages:
    956
    Likes Received:
    100

    Hmm. Do you mean this? https://developers.facebook.com/docs/plugins/like-button

    It doesn't appear to show the div/css needed to create the image in my OP though.
     
  4. Backopy

    Backopy Newbie

    Joined:
    Feb 7, 2017
    Messages:
    17
    Likes Received:
    3
    Occupation:
    404
    Location:
    Sydney
    Yes. That's the like button itself. The image you have in your OP will require someone to either use that websites code or you'll have to get something to write the necessary CSS & code for your site as that's something totally custom.
     
  5. ScreamingMidget

    ScreamingMidget Jr. VIP Jr. VIP

    Joined:
    Mar 17, 2013
    Messages:
    956
    Likes Received:
    100
    Yeah, that was my question really in the OP. To find a way of doing it. I may try a freelancer site.
     
  6. wilfathan

    wilfathan Newbie

    Joined:
    Mar 27, 2013
    Messages:
    14
    Likes Received:
    0
    Use facebook API
     
  7. Arc999

    Arc999 Registered Member

    Joined:
    Aug 18, 2010
    Messages:
    53
    Likes Received:
    19
    you have to use Facebook API, or try researching hundreds of Facebook plugins (there are literally hundreds for any platform, wordpress, joomla, drupal etc...)

    If you are not strong in coding, you will have to hire someone, facebook API is not a basic HTML :)
     
  8. ScreamingMidget

    ScreamingMidget Jr. VIP Jr. VIP

    Joined:
    Mar 17, 2013
    Messages:
    956
    Likes Received:
    100
    Yeah but the API is just a communication. The image in the OP looks to me like it's using CSS plus of course the Facebook API, like all share/like buttons use. I was just asking on the off chance that somebody had done something similar on their sites.