# Python Twitch Follow API

**URL:** <https://discuss.dev.twitch.com/t/python-twitch-follow-api/33412>\
**Category:** API\
**Created:** [September 6, 2021, 4:37pm UTC](https://discuss.dev.twitch.com/t/python-twitch-follow-api/33412 "2021-09-06T16:37:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![warmesty](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/warmesty/32/13505_2.png) [@warmesty](https://discuss.dev.twitch.com/u/warmesty)\
**Post date:** [September 6, 2021, 4:37pm UTC](https://discuss.dev.twitch.com/t/python-twitch-follow-api/33412/1 "2021-09-06T16:37:08Z")

</div>

I’m coding a twitch chat bot that works with selenium.  
I could not find how to get the token of the entered account.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [September 6, 2021, 5:17pm UTC](https://discuss.dev.twitch.com/t/python-twitch-follow-api/33412/2 "2021-09-06T17:17:15Z")

</div>

> [@warmesty](#):
>
> I’m coding a twitch chat bot that works with selenium.

Don’t this is not supported.  
And may constitute a violation of the developer agreement.

[https://www.twitch.tv/p/en/legal/developer-agreement/](https://www.twitch.tv/p/en/legal/developer-agreement/)

And this is _not_ the intended way for developers to create bots.

Please sign up for a ClientID and generate tokens via oAuth

> **[Twitch](https://dev.twitch.tv/console/)**
>
> Twitch is the world's leading video platform and community for gamers.

> [@warmesty](#):
>
> I could not find how to get the token of the entered account.

Please use the documented oAuth flows:

> **[Authentication](https://dev.twitch.tv/docs/authentication/)**
>
> Authentication

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [October 6, 2021, 5:18pm UTC](https://discuss.dev.twitch.com/t/python-twitch-follow-api/33412/3 "2021-10-06T17:18:06Z")

</div>

Closed on October 6, 2021, 5:18pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
