I am trying to develop custom ui for twitter timeline by using react js. So i need to get access timeline content somehow. I found proper working example in jQuery on following URL

I need to do the same in react JS and i tried to convert above code in react but it’s failed. Is there anyone to help me?

Hi,

Thanks for reaching out! Have you seen react-twitter-embed, this might be helpful for you here. Hope this helps!

Jess

1 Like

Yes. But i need to implement customized UI for twitter instead of default twitter UI. I did this in jQuery by using above mentioned example as follows

https://design.sana-commerce.com/en-us/twitter-feed

I need to do same in react, but unfortunately i couldn’t find solutions to get access to twitter timeline content (simple i need to assign twitter contents to an object my react app).

Thanks for following up here. What exactly is the issue you are facing with recreating this code in React?

Thanks again!

2 Likes

I don’t need to render twitter timeline on page. I need only timeline data instead of rendering timeline on page. Thanks

Yes, but what exactly is the issue you’re encountering?

I need timeline data of a particular profile as an json object (without rendering timeline on page). it can be done by using jQuery as i mentioned in the beginning of this forum. i need to do the same in react. But i couldn’t find out a way to do that

1 Like

Sounds like you want the REST API instead - https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline.html

2 Likes

Correct, but why it is necessary to get authenticated to do this ? Is there a possibility to do this without authentication ?

No.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.