This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a HTML Based simple Social Sharing widget for my Blog. Please help.?
10-03-2012, 12:02 AM
Post: #1
Creating a HTML Based simple Social Sharing widget for my Blog. Please help.?
Hi, I want to create a simple social sharing widget for my blog. I am currently using share-this widget. But for some reason I don't want it. It is too slow in loading and increase page load time too much.
So I decided to go with a simple widget but without any Java script.
Now what the problem I am facing is I have created CSS sprite images but I dont know what "href" string i should enter for each social media like twitter, Facebook, Google plus, pinterest and Linkedin.

The requirement is, if someone want to share the post to twitter, and when he click on the tweet button, the the URL of page and the title of the post should automatically go to the tweet.

I tried using

href="https://twitter.com/share"

but it only gives URL of the source page and not the post title. Same is the case with Facebook. When I click on the Facebook share button, only blank share popup opens.
Please help me .
I tried searching many websites but everywhere they have just copy pasted the non working code.

Thanks.

Ads

Find all posts by this user
Quote this message in a reply
10-03-2012, 12:10 AM
Post: #2
 
Read it from here, use Twitter API

https://dev.twitter.com/docs/tweet-button

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)