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: Social Media
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...

by Vishal Sahu
Tag: Social Media
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...

by Vishal Sahu
Tag: Social Media
24-Sep-2012

Grails

Implementing Login With Facebook

Hi, In my recent grails project i had a requirement to allow an user to login into my site using his Facebook credentials To achieve it , here is what is required to be done : 1) Create an application in facebook : Create an application in facebook from the application dashboard (https://developers.facebook.com/apps). ...

by vineet
Tag: Social Media
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: Social Media
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: Social Media
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: Social Media
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: Social Media
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: Social Media
24-Sep-2012

Grails

Integrating LinkedIn Groups in grails application.

Hi, In one of my recent Grails application, i needed to integrate LinkedIn groups with the application. In my previous post, we discussed about Integrating LinkedIn API in any grails application. To add a LinkedIn Group, we first need to authorize the LinkedIn account which has either created that group or is the member/admin of the...

by Vishal Sahu
Tag: Social Media
24-Aug-2012

Grails

Facebook ‘Like’ a wall post using Graph API

Hi, In one of my Grails project, i needed to 'Like' any Facebook wall post using facebook API. I searched about it and found a way to achieve this using Facebook Graph API and thought it worth sharing. To achieve it, we should have a valid facebook access_token, which can be obtained using steps described here. After obtaining a...

by Vishal Sahu
Tag: Social Media
28-Jun-2012

Grails

Posting photos to Facebook album using Graph API

Hi, In my recent grails project, i needed to post images to the albums for Facebook Profile/ Fan page/ Group using facebook API. I searched a lot and find a way to achieve this using Facebook Graph API. To post any content over facebook, we need to have facebook access_token which can be obtained using steps described here After...

by Vishal Sahu
Tag: Social Media
28-Jun-2012