How to authenticate Twitter API using OAuth2 with Apps Script?

188 views
Skip to first unread message

Arquivos Mídia

unread,
May 1, 2023, 7:05:00 PM5/1/23
to Google Apps Script Community
I'm trying to use Apps Script to follow Twitter users through the Twitter API. However, I need to authenticate using OAuth2 and I'm not sure how to do that in Apps Script. Can anyone provide guidance on how to authenticate Twitter API using OAuth2 with Apps Script?

Brett Grear

unread,
May 4, 2023, 10:01:17 AM5/4/23
to Google Apps Script Community
You basically can't anymore without paying $100 a month because the free API only has write access, it can't read or follow any tweets, even your own.
Authentication is the least of your issues unless you are loaded

Bruce Mcpherson

unread,
May 4, 2023, 10:05:51 AM5/4/23
to Google Apps Script Community
Don't know what the status is on free access any more - I haven't looked at since it got musked,  but here was how to authenticate 




On Tuesday, 2 May 2023 at 00:05:00 UTC+1 arquivo...@i9grupo.com.br wrote:

Arquivos Mídia

unread,
May 4, 2023, 2:42:13 PM5/4/23
to google-apps-sc...@googlegroups.com
I wanted to just post a message for fun, but I couldn't, neither with apps-script nor with colab.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/28e939c4-9cce-4560-ac3b-e723a3d29ceen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages