Vishal Sahu

Software developer by profession , passionate about Groovy, Grails and Java/J2EE technologies and a great lover of Open Source.

Grails

Reading comments of LinkedIn wall post

Hi, In one of my grails project, i needed to show the comments on any wall post of linkedin through API. I used the Java wrapper to connect any linkedIn account with the grails application which can be seen here. But somehow this library was not working when we need to fetch comments from any wall post and display them in our UI. ...

26-Sep-2012

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...

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...

25-Sep-2012

Grails

Searching tweets on Twitter using Twitter4j

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

25-Sep-2012

Grails

Get tweets posted by user using Twitter4j

Hi, In the previous blog we saw how to fetch tweets in which a particular user is mentioned, using the Twitter4j java wrapper library available for Twitter API calls. In the same project, i had the requirement to display the tweets posted by particular user including retweets. I searched for it and found a cool way to achieve...

25-Sep-2012

Grails

Fetching twitter user mentions using Twitter4j

Hi, In the last blog, we saw how to retrieve the tweets from user timeline which the user has marked as favorite using Twitter4j java wrapper for making twitter API calls. In the same grails project, i had the requirement to fetch all the tweets in which the current user in mentioned in the tweet text. I searched about it and found...

25-Sep-2012

Grails

Fetching twitter user ‘Favorite’ tweets using Twitter4j

Hi, In the previous bog, we saw how to fetch the Retweets by any twitter using using Twitter4j Java library for making twitter API calls. I had the requirement to fetch latest tweets from user timeline which user has marked as 'Favorite' and show them in our application. So, in this blog we will see how to retrieve latest...

25-Sep-2012

Grails

Retrieving retweets by twitter user using Twitter4j

Hi, In the previous blog we saw how to fetch Twitter user's Timeline using API calls with the help of Twitter4j library. I had a requirement to display all the retweets by the authenticating user and display them in our application. In this blog we will see how to retrieve the retweets by any twitter user and use them in our...

25-Sep-2012

Grails

Fetching User’s Home Timeline using Twitter4j

Hi, In the previous blog we saw how to post status update on Twitter using Twitter4j library. In the same project i had the requirement to show Twitter home timeline inside our application. I used the same java wrapper library to retrieve tweets from the user twitter account. In this blog we will see how to retrieve the Users...

25-Sep-2012

Grails

Posting status update on twitter using Twitter4j

Hi, In the previous post, we saw how to Retweet any user's tweet from our application. In the same project, i needed to post a new tweet on behalf of the authenticating user from the application using Twitter API. Posting a new status update is quite easy using Twitter4j library. For making any twitter API calls we need to...

24-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...

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...

24-Sep-2012