Page 1 of 1

How to get Facebook API Plug-in working on mobile Android device

Posted: Wed Jul 17, 2013 2:56 pm
by Robert Manders

I went through the Facebook API Plug In and was able to get it to connect to Facebook through the web, but when I built it on my Android phone with a .apk, it allows me to sign in, but it gives me this error:

The page you requested cannot be displayed right now. It may be temporarily unavailable, the link you clicked on may be broken or expired, or you may not have permission to view this page.

Is there a way to get the Facebook plug-in to work with an app that is not web-based? Thanks.


How to get Facebook API Plug-in working on mobile Android device

Posted: Wed Jul 17, 2013 5:10 pm
by Kateryna Grynko

Hi Robert,

What is the redirect URL that you use when return?
Could you show us your authorization code?


How to get Facebook API Plug-in working on mobile Android device

Posted: Wed Jul 17, 2013 5:18 pm
by Robert Manders

For the redirect URL, I followed the exact specifications given in the tutorials to copy it from the address bar. As far as the authorization code, I'm not sure what you mean by that, could you elaborate? Thanks.


How to get Facebook API Plug-in working on mobile Android device

Posted: Wed Jul 17, 2013 5:36 pm
by Robert Manders

I've shared the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so that you can look at it.


How to get Facebook API Plug-in working on mobile Android device

Posted: Wed Jul 17, 2013 5:37 pm
by Kateryna Grynko

Thank you, Robert. We'll take a look.


How to get Facebook API Plug-in working on mobile Android device

Posted: Wed Jul 17, 2013 5:43 pm
by Kateryna Grynko

You copied your app address when developing. For now, pages addresses are completely different.

Try from your app (built in APK/IPA) run the following JavaScript: codealert( window.location);/code