Around 3200 Rss Feed readers​​ Already joined, Have you?

Installation Twitter @ Anywhere In Comments Box

Friday, April 29, 2011


Comment box is the most effective means of discussion. Or at least, the comments box is one place to simply greet each other and interact. Because the engine bloggers do not have the facility to reply comment, bertegur-greet activities usually done by mimicking Facebook or Twitter. Namely by adding the symbol "At" (@) at the beginning of the name. For example I want to reply to comments hatsadz lamp, then I add the @ hatsadzlamp at the beginning of the sentence. As a sign that the feedback I go to hatsadz lamp. 

Comment box is the most effective means of discussion. Or at least, the comments box is one place to simply greet each other and interact. Because the engine bloggers do not have the facility to reply comment, bertegur-greet activities usually done by mimicking Facebook or Twitter. Namely by adding the symbol "At" (@) at the beginning of the name. For example I want to reply to comments hatsadz lamp, then I add the @ hatsadzlamp at the beginning of the sentence. As a sign that the feedback I go to hatsadz lamp.

For more details, can be seen on the demo page here.


Here are the installation steps Twitter @ Anywhere:

1. Log on @ Anywhere
Previously, you must have a twitter account first. Then visit http://dev.twitter.com/anywhere



2. Submit Application
Fill in all information required. (It is very easy and does not need further explanation)


3. Get the API key.


4. Installation

After learning the API key, it needs to be done is to add the following JavaScript before </ head>

<script src="http://platform.twitter.com/anywhere.js?id=APIKey" type="text/javascript"></script>
  
Replace APIKey with your API Key.

Some features that can be used are:

a. LinkifyUser
The script will change all the content that begins with "at " symbol to link twitter account.

b. Hovercards
Create a link led to a tooltip that contains information about a twitter account.

To do this place the following javascript:

<script>
twttr.anywhere(function(twitter) {
twitter(&quot;.comment-body&quot;).linkifyUsers();
twitter.hovercards();
});
</script>

Replace the letters in red with the appropriate class. If you are using Basic Minima, the comment box has a class. comment-body. If unsure and you want all the content in the body converted into a link then replace it with the body.

5. Conclusion
This method is very easy to do and quite effective remedy add interactivity in the comments box. But keep in mind is, if we write the username is wrong then the resulting link becomes irrelevant.
 
Besides the two features above, there are also features like:
  • Follobutton
  • Tweet Box
  • Twitter Connenct
Read More - Installation Twitter @ Anywhere In Comments Box