My twitter developer account application was approved but when trying to access using the login into twitter with my app on android studio it comes with an error message pops up and says " the request for this page is invalid. It may have already been used, or expired because it is too old. Please go back to the site or application that sent you here and try again. It was probably just a mistake." How can this be fixed?

I’m confused about your comment about this being in Android Studio and login with Twitter. Can you please provide code or explain what you’re trying to do? have you created an app on developer.twitter.com already? What’s the goal of your app and what Twitter features do you want to use? Is this under Twitter Developer Labs?

I’m just making a clone of the twitter viewing a Twitter timeline. My code has no errors and my application runs .Just when login my account to access the api to see the timeline that is the error message I get. I have already been accepted into the twitter development.

I have the api keys i needs to use as well

OK, would it be possible to provide more information about your code - specifically, what the sign-in with Twitter flow looks like? That looks like sign-in with Twitter on the web but you mentioned an Android app?

It sounds like this is not related to Twitter Developer Labs so I am going to move this to the general REST API category.

In case you are not aware, Twitter Kit (our former SDK for Android) went out of support in late 2018, so the best options are usually third party libraries such as Twitter4J or a Kotlin alternative; you’ll want to ensure that your application callbacks are valid in your application dashboard.

I have created a app in android studio, when I click login it should take my to twitter timeline of my own twitter.

I would have to spend a lot more time looking into this Android Studio integration.

Could we possibly do zoom chat ?

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