I've read around but I can't find any similar questions so here goes...
I have a facebook application which is configured and working fine, Lets take my website URL to be:
http://adminpanel.its.a.very.long.url.mywebsite.com
This is configured as the 'site URL' in the application config and it works fine.
However, the website is also used on our internal network with a DNS that allows us to use
http://adminpanel/
The problem is that the facebook app wont allow a'redirect_uri' to be
http://adminpanel/
and fails with the following:
API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: Invalid redirect_uri: Given URL is not permitted by the application configuration.
Is it possible to allow both
http://adminpanel.its.a.very.long.url.mywebsite.com
and
http://adminpanel/
Thanks in advance,
Oli
UPDATE: I can't use two apps as I rely the 'Add Page Tab Dialogue' to add my application to various Pages.
What I need is both of these redirects (specified by the 'next' param) to be allowed by facebook.
https://www.facebook.com/dialog/pagetab?app_id=12345678&display=popup&next=http://adminpanel/Success