Skip to main content
Balu_M
Level 3
Mar 23, 2017 2:08 PM UTC
Solved

Fetching user profile data from twitter

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.
sandeepm744005
sandeepm744005Accepted solution
Level 5
Mar 25, 2017 12:56 PM UTC

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
Level 5
Mar 24, 2017 8:21 AM UTC

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

Translate
Balu_M
Balu_MAuthor
Level 3
Mar 25, 2017 4:39 AM UTC

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.

Translate
sandeepm744005
sandeepm744005Accepted solution
Level 5
Mar 25, 2017 12:56 PM UTC

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.

Translate
MC_Stuff
Level 10
Mar 26, 2017 5:07 PM UTC

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,

Translate
kautuk_sahni
Level 9
Mar 28, 2017 8:48 AM UTC

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

Translate
Kautuk Sahni