Comments (5)
This is not related to the v2 API (you have /1.1/ in the URL) so the fields and expansions will not work. Also, Twitter’s API does not support CORS.
I recommend that you use https://twittercommunity.com for follow-up questions since this does not relate to these samples.
from twitter-api-v2-sample-code.
I am also facing CORS error how do I solve it.
from twitter-api-v2-sample-code.
from twitter-api-v2-sample-code.
The Twitter API does not support CORS so you will have to call it from a server-side application rather than directly from JavaScript in the browser.
from twitter-api-v2-sample-code.
The Twitter API does not support CORS so you will have to call it from a server-side application rather than directly from JavaScript in the browser.
Okay, I'll try on node thanks :)
from twitter-api-v2-sample-code.
Related Issues (20)
- Getting client forbidden error in twitter api with endpoint /2/users/1669301955590778880?user.fields=profile_image_url from 5 days HOT 1
- [Bug Report] Error 403 Forbidden when using GET /2/users/:id/following with Twitter API v2 endpoint HOT 30
- When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal HOT 4
- Authentication Error (403 Forbidden) when Running Twitter Bot HOT 4
- Was the users lookup endpoint removed from the free tier
- Add JS examples in Direct-Messages-Lookup folder
- Where's the media upload script in this repository? How can I attach an image to a tweet here? HOT 6
- Filtered stream example can cause 429 error
- delete_tweet.py returns 403 in free tier HOT 1
- Bug
- How to do a Webhook connection using Twitter activity Api v2 to create a chatbot and access DM? using BASIC plan.
- you must use keys and tokens from a Twitter developer App that is attached to a Project
- the whole x dev bs needs fixing
- 'Enviornment?' Oy.
- How to fix "Uncaught Error Error [ERR_REQUIRE_ESM]: require() of ES Module not supported"? HOT 1
- When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal HOT 2
- Twitter V2 Get Tweets API's Query Parameter not working HOT 1
- Getting Tweets with Bearer Token is not working
- How to solve the bug about issue #69
- Error to get tweets from my account HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter-api-v2-sample-code.