gnsp
#1
Hi
Even though my development server URL is whitelisted for the zomato twitter app, I am still getting Error 415 on it. Please provide leads to troubleshoot it.
Thanks in advance.
Ganesh Prasad
Software Development Engineer
Zomato
1 Like
LeBraat
#2
Hey @gnsp,
Thanks for reaching out! I think we can help you out, but we might need some more information.
First off, please make sure to read through our documentation.
Can you please provide the callback URL that you are using in this situation? Also, can you please make sure that you are using the same callback URL that you whitelisted in your app dashboard as you are in your request to the oauth/request_token endpoint.
gnsp
#3
Hi @LeBraat,
The callback URL that I am using in this situation is https://ganeshp.zdev.net/php/twitter_silent_callback_handle.php and the host ganeshp.zdev.net is whitelisted in the dashboard.
Thanks
LeBraat
#4
In this case, you are going to need to whitelist the whole URL to get past this error.
In the apps dashboard, please whitelist the following:
https://ganeshp.zdev.net/php/twitter_silent_callback_handle.php
Then, you will use the same in your request to oauth/request_token.
1 Like
In an application, created many years ago, I send and receive dms. Currently with the change of the api, implementing the migration, I get this error.
Do I need “Sign in with Twitter enabled” in the app’s settings? If so, I understand, I should add a url callback, right?
If it is not necessary, and I have “Sign in with Twitter Disabled”, why do I get this error?
LeBraat
#6
If you are going to be using Sign in with Twitter to authenticate users for your app, then you are going to need to have this feature enabled in the app’s settings.
In addition, you are going to have to make sure that you have a callback URL added to the app settings as well.
It would probably help if you went into greater detail about what you were doing when you received this error message.