Monday, February 27, 2012

Twitter Custom Share

We can add the tweet button directly from the twitter website.

But if you want a image of you wish, then it's easy to get it.

<a href="http://m.twitter.com/home?status=WHATEVER-YOU-WOULD-LIKE">

<img src="SOME IMAGE, BUT KEEP IT RELEVANT" /></a>

And if you are developing any application and want to implement authentication,

use OAuth provided in twitter API:

https://dev.twitter.com/docs/auth/oauth

Note: You have to register a developer account and create a app there.

For authentication use the access token generated on the app settings page.