Expand my Community achievements bar.

SOLVED

Get Twitter widget code and use it within an Adobe CQ component

Avatar

Level 9

Hi All,

In the article https://helpx.adobe.com/experience-manager/using/creating-cq-feed-components-display.html ,data from twitter is retrieved by adding some javascript code to the AEM component.

Doubt as below :

1] What I thought was to get data from any 3rd party system, we have to make some REST or other calls. How is it that things are working here? I mean, I was not able to exactly understand this.

Any thoughts on this will be helpful.

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Level 10

Hi,

yes you are right we need to make REST or some calls to get data from 3rd party, BUT

This is twitter widget. So when you create a new twitter widget, twitter will give you this JS code so that your task is to put the given JS code in your webpage and you will get it. I would highly recommend you to go and create one simple widgets, it takes only 10 -15 secs.

Avatar

Correct answer by
Level 10

Avatar

Level 9

Hi Edubey,

Thanks a lot for your reply.