Home » Tag Archives: Twitter4j

Tag Archives: Twitter4j

Turning Twitter4J into RxJava’s Observable

java-logo

aTwitter4J is a Java wrapper around Twitter API. While Twitter supports simple request-response interactions in this article we will explore streaming APIs. In contrary to request-response model which is always initiated by the client, streaming API pushes data from Twitter server to the clients as soon as they are available. Of course in case of Twitter we are talking about ...

Read More »

Using twitter4j with Play! Framework and Secure Social is this easy

play-framework-logo

Dur­ing yesterday’s per­sonal Hackathon, I started a project which I might intro­duce here some­time. But the coolest rev­e­la­tion was (again) how easy it was to get up and running. Cre­ate a new Play Project Add Secure Social and con­fig­ure it for Twit­ter, and use the InMem­o­ryUserSer­vice from the exam­ples. (all this is described here http://securesocial.ws/guide/getting-started.html and only takes a minute) ...

Read More »

Using Twitter4j with Scala to perform user actions

scala-logo

Introduction My previous post showed how to use Twitter4j in Scala to access Twitter streams. This post shows how to control a Twitter user’s actions using Twitter4j. The primary purpose of this functionality is perhaps to create interfaces for Twitter like TweetDeck, but it can also be used to create bots that take automated actions on Twitter (one bot I’m ...

Read More »

Using twitter4j with Scala to access streaming tweets

scala-logo

Introduction My previous post provided a walk-through for using the Twitter streaming API from the command line, but tweets can be more flexibly obtained and processed using an API for accessing Twitter using your programming language of choice. In this tutorial, I walk-through basic setup and some simple uses of the twitter4j library with Scala. Much of what I show ...

Read More »

Couchbase : Create a large dataset using Twitter and Java

couchbase-logo

An easy way to create large dataset when playing/demonstrating Couchbase -or any other NoSQL engine- is to inject Twitter feed into your database. For this small application I am using: Couchbase Server 2.0 Server Couchbase Java SDK (will be installed by Maven) Twitter4J (will be installed by Maven) Twitter Streaming API called using Twitter4J In this example I am using ...

Read More »

Twitter4j and Esper: Tracking user sentiments on Twitter

espertech-logo

For new comers to Complex Event Processing  and Twitter API, I hope this serves as a short tutorial and helps them get off the ground quickly. Managing big data and mining useful information from it is the hottest discussion topic in technology right now. Explosion of growth in semi-structured data flowing from social networks like Twitter, Facebook and Linkedin is ...

Read More »

Twitter API on your Java Application

twitter-logo

Ever wonder of attaching your tweets to your Java Applications? I searching for the best API out there for this and lucky for me, I found it! http://twitter4j.org/ A Simple How To: The first thing we need to do is to create an application within your twitter account, grant it access and generate authentication tokens (although, the consumer tokens will ...

Read More »

Java Twitter client with Twitter4j

twitter-logo

Got inspired by my friend, who built his own Twitter client for his company’s client. So, I tried to build one using Java. And I’m surprised at how easy is to make a Twitter client, of course I still use a third-party API to make my job easier. This simple client will only have 2 purposes: reading timeline and post ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close