java - Twitter4J, Direct Messages -


I have a problem with the Twitter API. I have created an app for Android using the Twitter 4J library, I have been able to log in users correctly, check my timeline, details, profile data, but I can access your direct messages. there are problems.

Every time I jumps the following error:

  Error N Reality: DirectMessage Activation 403: The request is understood, but it has been rejected. An error message will simultaneously explain why this code is used when requests are rejected due to update boundaries ([link] [1]).   

Message - This application is not allowed to access or delete your direct message.

Code - 93

Contextual discussions on the Internet or

  TwitterException` {exceptionCode = [00919618-14e73985], stats = 403, message = This app is not allowed to access or delete your direct messages. Code = 93, retryAfter = - 1, Rate LimitStatus = RateLimitStatusJSONImpl {Balance = 12, limit = 15, resetteminsecond = 1392219303, second anniliterate = 122}, version = 3.0.5} `  

I checked 1 and 1000 times I am allowed to reach DM. I have reproduced the token, I have created a new app from 0 in your administration console ... take Qin I am not able to fix this problem.

Any help will be very incomplete for me

Thank you very much! Â ????

The only error I received while executing the code. To fix this, please follow the steps below:

  1. {your_app_id}
  2. Click the key and access token.
  3. In the access level, select the app's permission and the third option: Read, write and access messages directly.
  4. Click Update. (Note: You may have to add your mobile number and verify to get this access from OTP, if you do not add it to Twitter).
  5. Both consumer keys & amp; Incognito and Access Token & amp; Secret using the clickable button.

    The above steps worked for me and I hope this will be useful to you too.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -