Auto-GPT-Plugins icon indicating copy to clipboard operation
Auto-GPT-Plugins copied to clipboard

Fixing the twitter plugin

Open brk275 opened this issue 1 year ago • 5 comments

I sorta fixed the twitter plugin. It can send tweets, read tweets, get user ids but very inconsistently. I'm having a lot of trouble getting it to choose the right arguments consistently.

brk275 avatar May 12 '23 01:05 brk275

How did you fix?

miltiadez avatar May 12 '23 17:05 miltiadez

How did you fix?

If you have the Twitter 2.0 endpoint as I do, you need to use the OAuth 2.0 Authorization Code Flow with PKCE. You can find how in the tweepy docs. Then you basically need to rebuild all the commands with the tweepy client 2.0 reference. The issue I'm having right now is getting autogpt to use the right arguments. It keeps making mistakes during requests. Simple stuff like using an actual Twitter handle instead of the Twitter id. Not using the correct send_post twitter arguments, same for user mentions.

It CAN do them, though, because when it does them right, they go through, so I'm definitely closer now.

I need help translating the new 2.0 client commands in a way that Autogpt easily understands. Right now, I'm not there yet.

brk275 avatar May 12 '23 19:05 brk275

@brk275 can you please let us know if you make any progress on this?

jakebreaks avatar May 15 '23 23:05 jakebreaks

anybody have any success posting links and pictures? [insert link here] is most common post, hoping for a fix or solution. its not posting pictures at all

RangerSubway avatar Aug 01 '23 21:08 RangerSubway

When will the fixes be released?

pixelvoodoo avatar Sep 13 '23 15:09 pixelvoodoo