Fetching user profile data from twitter | Community
Skip to main content
Balu_M
March 23, 2017
Solved

Fetching user profile data from twitter

  • March 23, 2017
  • 5 replies
  • 3542 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sandeepm744005

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.

5 replies

sandeepm744005
March 24, 2017

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

Balu_M
Balu_MAuthor
March 25, 2017

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.

sandeepm744005
sandeepm744005Accepted solution
March 25, 2017

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.

MC_Stuff
March 26, 2017

Hi Bala,

Alternative You can achieve your requirement by making use of oauth. 

https://docs.adobe.com/ddc/en/gems/oauth-server-functionality-in-aem---embrace-federation-and-unlea.html

Thanks,

kautuk_sahni
Community Manager
Community Manager
March 28, 2017

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