# Help regarding a new developer application

**URL:** <https://discuss.dev.twitch.com/t/help-regarding-a-new-developer-application/9072>\
**Category:** API\
**Created:** [January 30, 2017, 5:11am UTC](https://discuss.dev.twitch.com/t/help-regarding-a-new-developer-application/9072 "2017-01-30T05:11:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ifohancroft](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/ifohancroft/32/2434_2.png) [@ifohancroft](https://discuss.dev.twitch.com/u/ifohancroft)\
**Post date:** [January 30, 2017, 5:11am UTC](https://discuss.dev.twitch.com/t/help-regarding-a-new-developer-application/9072/1 "2017-01-30T05:11:23Z")

</div>

Hello,

I am trying to create my own chat bot but I am having problems with a few things even before starting to code it.  
I have read the documentation and I have checked a few threads on here but I couldn’t find the answers.

1. I want the chat bot to use a different nickname, not my own.  
Do i have to make a second Twitch account and register the application under it?  
If yes - what do I do with the application I have already registered under my account? May I get it deleted?  
If no - Do I use the application created under my own account and make a separate Twitch account that will be the  
bot, log in to it, go to the application url and authenticate it so the application can use it as the bot?

2. I am making the both for my own channel during my stream. Why do I need to specify a URL?

3. Can I make the url inaccessible for anyone but me so I can authorize myself there so my bot can  
use the account I’ve made for it or can I just leave the url for the application to localhost when the application  
is already in production? I mean is this allowed by Twitch?

Any answers and help are very much needed and will be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![matt\_thomas](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/matt_thomas/32/710_2.png) [@matt\_thomas](https://discuss.dev.twitch.com/u/matt_thomas)\
**Post date:** [January 30, 2017, 6:02am UTC](https://discuss.dev.twitch.com/t/help-regarding-a-new-developer-application/9072/2 "2017-01-30T06:02:58Z")

</div>

> [@ifohancroft](#):
>
> Hello,
> 
> I am trying to create my own chat bot but I am having problems with a few things even before starting to code it.  
> I have read the documentation and I have checked a few threads on here but I couldn’t find the answers.
> 
> I want the chat bot to use a different nickname, not my own.  
> Do i have to make a second Twitch account and register the application under it?

If you are making the application to have a client ID to make queries to the API, you can leave it under your account and just use the client ID during the bot’s queries. The bot can be a different account.

> [@ifohancroft](#):
>
> I am making the both for my own channel during my stream. Why do I need to specify a URL?

This is for web based applications, you can leave it as something like your twitch page just as a filler, you can change it later if needed. For a chat bot with no web interface it isn’t really needed.

> [@ifohancroft](#):
>
> Can I make the url inaccessible for anyone but me so I can authorize myself there so my bot can  
> use the account I’ve made for it or can I just leave the url for the application to localhost when the application  
> is already in production? I mean is this allowed by Twitch?

You can make your own application to request a chat token as a specific user, or you can use something like: [Twitch Chat Password Generator](https://twitchapps.com/tmi/) and use your bot credentials to get it’s “chat oauth” with scope=chat\_login

The URL it just where the user would be redirected to after authentication. If you make a web app just to generate a chat\_login oauth then where it redirects you to is trivial.

---

<div class="post-metadata">

**Author:** ![3ventic](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/3ventic/32/298_2.png) [@3ventic](https://discuss.dev.twitch.com/u/3ventic)\
**Post date:** [January 30, 2017, 6:03am UTC](https://discuss.dev.twitch.com/t/help-regarding-a-new-developer-application/9072/3 "2017-01-30T06:03:56Z")

</div>

You should register your applications under your main account. How you get the oauth token for your bot is up to you. Redirect urls can be private.

---

<div class="post-metadata">

**Author:** ![ifohancroft](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/ifohancroft/32/2434_2.png) [@ifohancroft](https://discuss.dev.twitch.com/u/ifohancroft)\
**Post date:** [January 30, 2017, 6:07am UTC](https://discuss.dev.twitch.com/t/help-regarding-a-new-developer-application/9072/4 "2017-01-30T06:07:27Z")

</div>

Thank you very much for the helpful answers.  
I should have probably started with the following:  
Am I required to register an application to write and use my own bot?

---

<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:** [March 1, 2017, 6:07am UTC](https://discuss.dev.twitch.com/t/help-regarding-a-new-developer-application/9072/5 "2017-03-01T06:07:35Z")

</div>

Closed on March 1, 2017, 6:07am UTC

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