403 error when trying to generate a link #284
Answered
by
RanvirChoudhary
RanvirChoudhary
asked this question in
Q&A
-
i am trying to generate a OAuth 1.0a link but getting a 403 error const client = new TwitterApi({ appKey: process.env.API_KEY, appSecret: process.env.API_KEY_SECRET });
app.listen(3000, () => console.log("You used express to set up a server!"));
app.get("/callback", (req, res) => {
console.log(req);
});
const authLink = await client.generateAuthLink("localhost:3000/callback"); i have checked my credentials, and have setup OAuth 1.0a on the twitter developer portal. |
Beta Was this translation helpful? Give feedback.
Answered by
RanvirChoudhary
May 12, 2022
Replies: 1 comment
-
Omg at this point i feel like i'm creating question just so i can answer them by myself. turns out, i made a mistake, and just need to edit the url in my twitter developer portal |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RanvirChoudhary
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Omg at this point i feel like i'm creating question just so i can answer them by myself. turns out, i made a mistake, and just need to edit the url in my twitter developer portal