I am trying to GET tweets as soon as they are posted using the Account Activity environment.
I am using TweetInvi, a library for C# (.NET). I am calling the CreateAccountActivityWebhookAsync() method and the error below is returned.
The request is understood, but it has been refused or access is not allowed. An accompanying error message will explain why. This code is used when requests are being denied due to update limits.
You can view the TweetInvi documentation here.
More Details
Details : Forbidden. (200)
Code : 403
Is there the error code from the API there too? 403 is forbidden but what’s the full response from the API? Usually this has a more descriptive message.
Does a different implementation work? (using the same environment name configured on the dashboard and same keys) GitHub - twitterdev/account-activity-dashboard: Sample web app and helper scripts to get started with the premium Account Activity API just to check if it’s an environment thing.
I do not use JS or node and I’d like to continue using C#. I now have a different error:
Reason: Bad Request
Details: Unable to connect during CRC GET request. (214)
Code: 400
“Twitter documentation description : Bad Request - The request was invalid or cannot be otherwise served. An accompanying error message will explain further. In API v1.1, requests without authentication are considered invalid and will yield this response.”
I suspect TweetInvi (the lib im using) is outdated. Do you know of another library to use with .NET.