Grails

Get recent twitter followers using Twitter4j

Hi, In the previous blog we saw how to fetch twitter users based on some search criteria using the Twitter4j library, a java wrapper available for Twitter API calls. In the same grails project, i had the requirement to display the recent twitter followers of authenticated twitter accounts. Twitter4j library provides a way to...

by Vishal Sahu
Tag: Twitter Integration
25-Sep-2012

Grails

Search Twitter Users using Twitter4j

Hi, In the previous blog we saw how to fetch tweets based on some search criteria using the Twitter4j, a java wrapper library available for Twitter API calls. In the same grails project, i had the requirement to search users based of their name or words. Twitter4j library provides a cool way to search users over twitter with...

by Vishal Sahu
Tag: Twitter Integration
25-Sep-2012

Grails

Parsing tweet for Hashtags, Usernames and URLs in Java

Hi, As i am working on Twitter integration in my current project, i needed to display the searched tweets from twitter API, on my view layer. When we query the Twitter API, it returns tweets text in the form of simple string which contains HashTags, Twitter usernames and links to external resources. While displaying them on...

by Vishal Sahu
Tag: Twitter Integration
24-Sep-2012

Grails

Follow/Unfollow twitter account using Twitter4j

Hi, In my recent grails project, i worked on integrating twitter API with the grails application. In one of the requirements, we needed to show the tweets from user wall and show the profile of the person/account who posted that tweet. In the profile, the user should be able to Follow or Unfollow that person from his twitter account...

by Vishal Sahu
Tag: Twitter Integration
24-Sep-2012

Grails

Retweet a tweet using Twitter4j

Hi, In one of my grails project, i worked on integrating twitter API with the grails application. The requirement is such that we need to display all of the tweets to any user in our application and provide the basic functionality such as reply, retweet, favorite, send direct message etc using the API calls. I used Twitter4j (a java...

by Vishal Sahu
Tag: Twitter Integration
24-Sep-2012

Grails

Reply to a user tweet using Twitter4j

Hi, In one of my grails project, i worked on integrating twitter API with the grails application. The requirement is such that we need to display all of the tweets to any user in our application and provide the basic functionality such as reply, retweet, favorite, send direct message etc using the API calls. I used Twitter4j (a java...

by Vishal Sahu
Tag: Twitter Integration
24-Sep-2012

Grails

Mark tweet as ‘Favorite’ using Twitter4j

Hi, In one of my grails project, i worked on integrating twitter API with the application. The requirement is such that we need to display all of the tweets to any user and provide the basic functionality such as reply, retweet, favorite etc using the API calls. I used Twitter4j (a java wrapper for twitter API calls), to make API...

by Vishal Sahu
Tag: Twitter Integration
24-Sep-2012

Grails

Sending ‘Direct Message’ to a twitter user using Twitter4j

Hi, In my recent grails project, i worked on integrating twitter API with the application. I used Twitter4j (a java wrapper for twitter API calls), to integrate the application and use the API calls. You can refer this blog to see how we can integrate the grails application with Twitter. For making any API calls we need to have...

by Vishal Sahu
Tag: Twitter Integration
24-Sep-2012