Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Fetching user profile data from twitter

Avatar

Level 3

Hi Team,

We have requirement to fetch the user profile data from twitter account and save it to AEM repository for further processing.

Can you please share any helpful links or suggetions how to do this task.

Thanks,

Bala.

1 Accepted Solution

Avatar

Correct answer by
Level 5

you should be checking in https://dev.twitter.com, there are lot of APIs information there with example. If user creation and login is not in AEM then your question should not be in AEM forum, this is what i feel.

View solution in original post

5 Replies

Avatar

Level 5

Hi Bala, you mean, you want user to use Twitter credentials to login and create the profile in the AEM accordingly ?

Have you checked this url ?

https://docs.adobe.com/docs/en/aem/6-2/administer/communities/social-login.html

Avatar

Level 3

Hi Sandeep,

We have user registration module , if user select register using twitter login then we need only user basic info(Name,DOB etc) then we do back end validations and create profile in system. this user creation is not in AEM its external service call.

For Facebook we have client side API's to fetch user data, do we have similar kind of API,s for twitter ?

Thanks,

Bala.

Avatar

Correct answer by
Level 5

you should be checking in https://dev.twitter.com, there are lot of APIs information there with example. If user creation and login is not in AEM then your question should not be in AEM forum, this is what i feel.

Avatar

Administrator

As stated by MC Stuff you can use oauth 2.

Where as if you want to get information about the user from Twitter side, then we need to first understand data exposed by twitter.

One of the APi to extract information about the user is GET users/show Link:- https://dev.twitter.com/rest/reference/get/users/show

Reference link:- http://stackoverflow.com/questions/3128323/get-current-users-info-from-twitter-api

I hope this would help you.

~kautuk



Kautuk Sahni