Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Twitter Feed Component from ACS commons on AEM 6.3 not working

Avatar

Avatar
Validate 1
Level 1
sunil_kumarn484
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
sunil_kumarn484
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
sunil_kumarn484
Level 1

19-09-2018

Hi All,

Please tell me where I am missing a step  to configure and make use of Twitter feed component  in my project.

Steps I followed:

1. Added All the below Java classes from ACS Commons bundle files in to my project bundle:

1575249_pastedImage_0.png

Followed the documentation from the link below:

Twitter Adapter Factory

created a TwitterFeedScheduler configuration in Sling:OSGIConfig  properties in System/console

created a  System User = acs-commons-twitter-updater-service with ACL rights to read modify and replicate

and created a Service Name : twitter-updater

But still I am not able to get the tweets from the username which I want to get ???

username is comming blank??

Tweets array is coming as Zero??

Any help to resolve this issue is appreciated.

Thanks

Sunil

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Employee
justin_at_adobe
Employee

Likes

76 likes

Total Posts

522 posts

Correct Reply

259 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
justin_at_adobe
Employee

Likes

76 likes

Total Posts

522 posts

Correct Reply

259 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
justin_at_adobe
Employee

27-09-2018

It would be better to just deploy the ACS AEM Commons package rather than copying the code. If you have an actual problem using the ACS AEM Commons package, you should report it using GitHub Issues.

Answers (3)

Answers (3)

Avatar

Avatar
Boost 50
Employee
justin_at_adobe
Employee

Likes

76 likes

Total Posts

522 posts

Correct Reply

259 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
justin_at_adobe
Employee

Likes

76 likes

Total Posts

522 posts

Correct Reply

259 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
justin_at_adobe
Employee

27-09-2018

I'm not sure what you mean by "API constraints". That bundle works fine on AEM 6.3. Same thing with "JSP used in the component". There's no requirements put on the JSP (or even a requirement to use JSP) imposed by the ACS AEM Commons Twitter integration.

But if this is the path you want to go down, that's ultimately up to you. My guess is that you are missing the service user configuration. You said you created the service user, but didn't say whether or not you created the service user configuration to bind the service to the service user.

Avatar

Avatar
Validate 1
Level 1
sunil_kumarn484
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
sunil_kumarn484
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
sunil_kumarn484
Level 1

27-09-2018

Hey Justin /Scott,

Thanks for your reply.

Directly using  the ACS commons code in AEM 6.3 doesnot work due to API constraints and JSP used in the component etc.

So we used the code base and modified according to the latest API compatible code  and it works fine , its like a a custom TwitterFeed component according to our project requirement.

Once that works completely, I would like to checkin this  entire code so that its useful other community members.

Please let me know the process to checking the twitterFeed component code  in to the GIT repository and do we need and  permissions?

Thanks

Sunil

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

26-09-2018

We asked the team that coded this to look and help here.