SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2010
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Interact With Facebook & Twitter

    How would I be able to do this?
    When I click on a button, it would send some text, say, "Check this out!!" to my Facebook and Twitter account.

    I checked everywhere on the web and and this forum but can't find anything on it.
    Can someone give me some advice on where to look or how to do it.

    tks

  2. #2
    SitePoint Member Emphacy's Avatar
    Join Date
    Aug 2012
    Location
    Newcastle upon Tyne UK
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try implementing shareThis on your website. It's a system which communicates with all social networks' API to allow you to share content.
    All you have to do is paste the HTML/ JavaScript code where you want the buttons to appear.

  3. #3
    SitePoint Addict kduv's Avatar
    Join Date
    May 2012
    Location
    Atlanta, GA
    Posts
    244
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Yeah, Share This is probably the easiest way to do it. If you want more direct control you're going to have to implement the Twitter and Facebook API's directly. For that you'll have to sign up for each service's API access and check their documentation on how to implement it. There may be some PHP scripts already made that do the implementation for you, but I don't know of any off the top of my head.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •