Logo

dev-resources.site

for different kinds of informations.

Twitter API suspended? Here's how to fix it

Published at
6/25/2023
Categories
twitter
api
auth
webdev
Author
michi
Categories
4 categories in total
twitter
open
api
open
auth
open
webdev
open
Author
5 person written this
michi
open
Twitter API suspended? Here's how to fix it

A bunch of Twitter API clients which upgraded from v1 API to the free v2 API were suddenly suspended. The portal tells you to file an appeal, however all "contact support" links lead to a dead end.

I believe the reason this changed is due to a change in the permission model, might be a bug as it's very unintuitive as you will see in a minute.

How to fix it

  • Go to the Developer Portal and delete the suspended app
  • create a new app under the existing project
  • If you generate authentiation tokens, notice how after creating them it says they are "read only", not allowing you to tweet (which is the only thing you can do with the free API)
  • Go to settings and scroll down to "User authentication set up"
  • Change the permissions to "read and write", under callback and website URL you can put anything as it doesn't matter.
  • This will generate oauth keys but you won't need them
  • Now to go back to "Keys and tokens" and (re)generate both the keys and token, even if you created them before already
  • That's it, now you should see the access token has "read and write" permissions and you can add the new keys to your application!
auth Article's
30 articles in total
Favicon
Wait, are we just handing over system access to the AI agents?
Favicon
Implementing Auth in .NET WebApi & SPAs: Why is it still so painful?
Favicon
Secure Your Nuxt 3 App
Favicon
Managing Auth State in react using useContext API
Favicon
How to Authenticate Users Codeigniter Shield
Favicon
How to decode a JWT
Favicon
Laravel 11 API Rest Auth with jwt-auth
Favicon
Announcement - Keycloak.AuthServices v2.0.0 is out 🎉!
Favicon
Generate magic tokens in Rails with generates_token_for
Favicon
Your organization has enabled or enforced SAML SSO ... you must re-authorize the OAuth Application `GitHub for VS Code`
Favicon
JWT Revokation
Favicon
Recent Security Vulnerability Detected in Clerk - Should You Roll Your Own Auth?
Favicon
User Management Unveiled: An Architectural Overview
Favicon
Compressing and Decompressing User Permissions with JavaScript
Favicon
Clerk Webhooks: Data Sync with Convex
Favicon
Simplifying Client-Side Authentication with Firebase and SvelteKit
Favicon
I Just Want Authentication To Work
Favicon
Setup User Auth for your Reflex app using local_auth
Favicon
How to Implement Passkey Authentication and Fine-Grained Authorization in JavaScript
Favicon
Authentication Workflows Overview
Favicon
Securing MQTT: A Guide to Basic Authentication
Favicon
Shopify Passkey Implementation Analyzed
Favicon
Apa itu Autentikasi: Definisi dan Jenis-jenis Autentikasi
Favicon
Best Practices for Authorization in Microservices
Favicon
Granular Permission Management with CASL Library
Favicon
Multi Auth System in Laravel Breeze #1
Favicon
Simplifying Authentication Integration For Developers With Authgear SDKs
Favicon
API Authentication Methods - Pros and Cons
Favicon
Authentication vs. Authorization
Favicon
Twitter API suspended? Here's how to fix it

Featured ones: