Open MarianoKaz opened 1 year ago
there is file select button already
Sorry for necroing this issue, but here's a GET request that gets the list of all the GIFs in Twitter's GIF search feature by search term:
GET /i/api/1.1/foundmedia/search.json?q=your%20search%20term HTTP/1.1
Host: twitter.com
Accept: */*
authorization: Bearer [REDACTED0]
x-csrf-token: [REDACTED1]
Cookie: auth_token=[REDACTED2]; ct0=[REDACTED1];
Replace all the [REDACTED#]
's with the valid tokens. If you just want the "trending gifs", use /i/api/1.1/foundmedia/categories.json
instead.
api request is not a problem, adding things to my god-awful tweet composer element is, i dont wanna bother with it
Oh, and also the file select button when making a tweet would be nice too!