Twitter is a simple yet popular social network service that asks a simple question, "What are you doing?" Friends and followers will then have their conversation related to this topic.
We are going to demonstrate another approach of communicating with the social networking API. We will use the extension approach with the help of Java extension.
We need to set up the Twitter API by:
1. Download the
jTwitter.jar
class from http://www.winterwell.com/software/jtwitter.php.2. Place the
jTwitter.jar
file inSmartFoxServer Installation Directory
|Server
folder.3. Edit the
start.sh
file in theServer
folder to addjtwitter.jar
into the classpath.
We are getting back to the emotion message that we used for updating the Facebook status. We are not trying to post the same emotion message to Twitter. Unlike the Adobe Facebook API, Twitter sets a more restrictive access from Flash player. Therefore, we are going to use the server...