Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter Pages #492

Open
anghelpw opened this issue Jul 21, 2022 · 2 comments
Open

Twitter Pages #492

anghelpw opened this issue Jul 21, 2022 · 2 comments

Comments

@anghelpw
Copy link

On the latest version 4 I cannot get the code for Twitter pages, for example:
https://twitter.com/pepephone

Or please let me know how I can get the oembed timeline from Twitter using version 4?

@oscarotero
Copy link
Owner

To get advanced data from Twitter, you need a token. You can see the code of the Twitter API adapter: https://github.com/oscarotero/Embed/blob/master/src/Adapters/Twitter/Api.php

@anghelpw
Copy link
Author

Yes, I tried with a Bearer Token and it not works.

But as I can see from Twitter docs the endpoint for timeline in v2 is not https://api.twitter.com/2/tweets and it must to be https://api.twitter.com/2/users/:id/tweets

Please, you can have a look here https://developer.twitter.com/en/docs/twitter-api/tweets/timelines/api-reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants