Robert Manders
Posts: 0
Joined: Thu Jul 11, 2013 9:30 pm

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

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

Hi Robert,

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

Robert Manders
Posts: 0
Joined: Thu Jul 11, 2013 9:30 pm

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

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.

Robert Manders
Posts: 0
Joined: Thu Jul 11, 2013 9:30 pm

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

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

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

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

Return to “Issues”