Sunday, March 6, 2011

Tweet

You don’t need to know Java, PHP, MySQL etc, You need not have hosting servers, database. You can still create your own Twitter App using @anywhere, which can post tweets to twitter, mentioning “via YourWebsite”.


FYI, I have created an app @ neks.us




@anywhere is a new set of frameworks for adding this Twitter experience anywhere on the web. Soon, sites many of us visit every day will be able to recreate these open, engaging interactions providing a new layer of value for visitors without sending them to Twitter.com. (from Twitter Blog)


If you own any webpage, blog, where you can write a HTML content, that is enough to create an @anywhere App. Below are the steps to follow.


1. First, Register your @anywhere application at dev.twitter.com/anywhere/apps/new

Please make sure that the “Callback URL:” should be same as the URL where you want to tweet from.


2. Note the API Key that you get, which is needed to include the

script


http://platform.twitter.com/anywhere.js?id=YOUR_API_KEY


The below html code (including the javascript for @anywhere, and a TweetBox) can give you a twitter app where you can tweet from.


<html>  <head>

<script
src="http://platform.twitter.com/anywhere.js?
id=YOUR_API_KEY&v=1"
type="text/javascript"></script>
</head> <body>
<div id="tbox"></div>
<script type="text/javascript">

twttr.anywhere(function (T) {
T("#tbox").tweetBox({
height: 100, width: 400,
defaultContent: "<YOUR DEFAULT TWEETBOX CONTENT HERE>"
});
});
</script> </body>
</html>

3. If you are a Pro, and need some more features, Read dev.twitter.com/anywhere/begin , or directly jump to


Auto-linkification of Twitter usernames

Hovercards

Follow buttons

Tweet Box

User login & signup


Below is my TweetBox where you can try Tweeting.




Disclaimer: @anywhere is still in its initial version v1.0, and is not working some of the times (at least for me). Please do not blame me, if the TweetBox is not working, but comment me if works for you.


Want to follow me in Twitter? I am @manikarthik84






Related Posts

























blog comments powered by Disqus





Tweet