eddiefeng / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

API Error Code: 100 #317

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new facebook app or enable the new data permisson
"Developer App -> Your App -> Settings -> Migrations -> "New Data
Permissions" -> Enabled"
2. Try to login to yout app via Facebook Connect

What is the expected output? What do you see instead?
I expect to get signed in and redirected to my application.
Instead I see 
API Error Code: 100
API Error Description: Invalid parameter
Error Message: Requires valid next URL.

Facebook will soon activate the new data permissions and the new
permissions dialog. (Migration ends on: June 1, 2010)

Original issue reported on code.google.com by olaf.kor...@googlemail.com on 30 Apr 2010 at 10:40

GoogleCodeExporter commented 8 years ago
I made a couple changes locally to get this to work.

1. When I want the user to add the app, I now redirect them to:
"https://graph.facebook.com/oauth/authorize?client_id=" + applicationId +
"&redirect_uri=" + nextUrl + "&cancel=" + cancelUrl

2. I had to clear out the "Post-Authorize Redirect URL" application setting.

Please note that the url in 1. will not work if you haven't enabled the 
migration.

Original comment by jasper.r...@gmail.com on 5 May 2010 at 10:51

GoogleCodeExporter commented 8 years ago
I am also facing the same issue. 

First i have created an application in facebook. it has given API key, secret 
key and application id. With this i have generated session key and i was able 
to get the messages but i was not able to post the messages. Later i have 
changed the permissions using a facebook url then started giving the below 
error message.
API Error Code: 100
API Error Description: Invalid parameter
Error message: next is not owned by the application.

Thanks for help

Original comment by luckyar...@gmail.com on 22 Sep 2010 at 12:25

GoogleCodeExporter commented 8 years ago
API Error Code: 100
API Error Description: Invalid parameter
Error message: next is not owned by the application.

plz specify how to resolve this prob

Original comment by ajayrain...@gmail.com on 19 Oct 2010 at 8:06