Twitter setup is pretty simple compare to Facebook .Facebook need server to connect or send messages to wall .Twitter can be connected by using Standalone
First download the Twitter4j API and Sample codes from below link :
click here
Sample code as below:
Twitter twitter = new TwitterFactory().getInstance(twitterID,twitterPassword);
Status status = twitter.updateStatus(latestStatus);
System.out.println("Successfully updated the status to [" + status.getText() + "].");
No comments:
Post a Comment