Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example & Stream App - Console: ReferenceError: Can't find variable: UIPermissions #34

Closed
apoorvamehta opened this issue Jun 17, 2010 · 4 comments

Comments

@apoorvamehta
Copy link

Hey,
I have set up the Stream & Example projects as explained in the documentation. The problem that I am encountering is when I get asked for extended permission (after logging in to facebook), clicking on "Allow Publishing" or "Don't Allow" does not do anything.

Here is the error that I found from LogCat:

06-17 01:12:21.063: DEBUG/Facebook-WebView(951): Redirect URL: http://www.facebook.com/connect/prompt_permissions.php?api_key=5839969809&cancel=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fdisplay%3Dtouch%26scope%3Doffline_access%252Cread_stream%252Cpublish_stream%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D5839969809&canvas=0&display=touch&ext_perm=offline_access%2Cread_stream%2Cpublish_stream&extern=3&fbconnect=1&locale=en_US&next=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_success%3Fdisplay%3Dtouch%26scope%3Doffline_access%252Cread_stream%252Cpublish_stream%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D5839969809&offline_access=1&legacy_return=1&required=1&return_session=1&source=login&v=1#
06-17 01:12:21.112: DEBUG/WebCore(951): Console: ReferenceError: Can't find variable: UIPermissions line: 15 source: http://www.facebook.com/connect/prompt_permissions.php?api_key=5839969809&cancel=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_cancel%3Fdisplay%3Dtouch%26scope%3Doffline_access%252Cread_stream%252Cpublish_stream%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D5839969809&canvas=0&display=touch&ext_perm=offline_access%2Cread_stream%2Cpublish_stream&extern=3&fbconnect=1&locale=en_US&next=https%3A%2F%2Fgraph.facebook.com%2Foauth%2Fauthorize_success%3Fdisplay%3Dtouch%26scope%3Doffline_access%252Cread_stream%252Cpublish_stream%26redirect_uri%3Dfbconnect%253A%252F%252Fsuccess%26type%3Duser_agent%26client_id%3D5839969809&offline_access=1&legacy_return=1&required=1&return_session=1&source=login&v=1

@roman-mazur
Copy link

Have faced with the same problem just now.

@soneff
Copy link

soneff commented Jun 17, 2010

Try migrating your app to the new permission system:

This can be done by going to

http://www.facebook.com/developers/apps.php

then select the application you are testing with, and click "Edit Settings" (the third item underneath Total Users)

On the settings page, click on Migrations (bottom of the left menu), then set New Data Permissions to "Enabled".

If you still have trouble, then send me your App ID and I can try to investigate.

@soneff
Copy link

soneff commented Jun 18, 2010

Does this fix your problem? I'll close the bug, but let me know if it's still an issue.

@apoorvamehta
Copy link
Author

Yes it does. Thank You.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants