linvi / tweetinvi

Tweetinvi, an intuitive Twitter C# library for the REST and Stream API. It supports .NET, .NETCore, UAP (Xamarin)...
MIT License
1.01k stars 220 forks source link

PublishTweetAsync does not publish anything #1219

Open tehnooks opened 1 year ago

tehnooks commented 1 year ago

After authenticating, tried to PublishTweetAsync but get nothing, have checked Read + Write permissions and tried with Tweet.compat, Tweet.None and Tweet.Extended

Neither of them work, everything else seems to though - Any ideas or can anyone else confirm it's not working?

CorreiaDeveloper commented 1 year ago

After authenticating, tried to PublishTweetAsync but get nothing, have checked Read + Write permissions and tried with Tweet.compat, Tweet.None and Tweet.Extended

Neither of them work, everything else seems to though - Any ideas or can anyone else confirm it's not working?

I have the same problem :/

tehnooks commented 1 year ago

I ended up writing a version myself in VB.NET which works fine

aisyshk commented 1 year ago

@CorreiaDeveloper @tehnooks https://github.com/linvi/tweetinvi/issues/1147#issuecomment-1173174302 This person wrote a workaround since this library is archaic

ByLazut commented 11 months ago

An error occurred: Reason : Forbidden Details : {"errors":[{"message":"You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code":453}]} (0) Code : 403 Date : 23.10.2023 14:18:59 +03:00 URL : https://api.twitter.com/1.1/statuses/update.json?status=Hello%20Tweetinvi%21&tweet_mode=extended Twitter documentation description : Forbidden - 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.

carlosmacbeath commented 10 months ago

An error occurred: Reason : Forbidden Details : {"errors":[{"message":"You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code":453}]} (0) Code : 403 Date : 23.10.2023 14:18:59 +03:00 URL : https://api.twitter.com/1.1/statuses/update.json?status=Hello%20Tweetinvi%21&tweet_mode=extended Twitter documentation description : Forbidden - 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.

I have the same issue, did you fixed it?

ByLazut commented 9 months ago

An error occurred: Reason : Forbidden Details : {"errors":[{"message":"You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code":453}]} (0) Code : 403 Date : 23.10.2023 14:18:59 +03:00 URL : https://api.twitter.com/1.1/statuses/update.json?status=Hello%20Tweetinvi%21&tweet_mode=extended Twitter documentation description : Forbidden - 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.

I have the same issue, did you fixed it?

unfortunately the problem persists

CorreiaDeveloper commented 9 months ago

An error occurred: Reason : Forbidden Details : {"errors":[{"message":"You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code":453}]} (0) Code : 403 Date : 23.10.2023 14:18:59 +03:00 URL : https://api.twitter.com/1.1/statuses/update.json?status=Hello%20Tweetinvi%21&tweet_mode=extended Twitter documentation description : Forbidden - 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.

I have the same issue, did you fixed it?

unfortunately the problem persists

The authentication method, endpoints, permissions—everything has changed just over a year ago. This .NET NuGet package is now obsolete. I suggest you search on YouTube for the current procedures. However, I'll let you know in advance that they provide very limited features. You can only make a few tweets, and I believe editing them or something similar. If you need something more robust, you'll have to pay a considerable amount.