Click here to Skip to main content
15,908,673 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Dear all

I built a website by using ASP .NET C#, and created an application on Facebook. My intention is use the use a Facebook account to login to my website, but I got a problem. The situation is when I clicked the FB button, I got the first error below:

An error occured with ApplicationName. Please try again later.

And then logging in to facebook, I got another error:

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 allowed by the Application configuration

I use VS2010 C#, and my url is looked like this: http://localhost:1000/App/

It will be lots of thanks that any can give me advice and suggestions. Thanks a lot.
[no name] 18-Jul-11 6:28am    
I think this is related with security need authorization to access the data from others property. please correct me if i am wrong.

You need to post to user feed url /me/feed on facebook.

Regarding this you have to Speak to Facebook Help desk only.
Share this answer
If you are creating a Facebook App then your application should be accessible over internet. And it seems that you are trying to use your local url in facebook app. Deploy the application on public domain, add the new public url in FB application settings.

Hope this helps. If it doesn't then please post the details of what actually you are trying to achieve.
Share this answer
Roger Chao 18-Jul-11 8:06am    
What I am trying to achieve is use the FB account to login to my website, thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900