Gilbert Smith
Posts: 0
Joined: Fri Aug 09, 2013 3:31 am

What Are The Relationships Between the Facebook Redirect URL and Appery.io Android Tester and the Appery.io Builder Test

While working with Facebook integration for mobile web apps (without the Javascript SDK) I noticed that the Builder Test (via desktop browser) and my Appery.io hosted web app, which will ultimately be a web view served in an hybrid Android app, naturally have different URL's.

Also, while reviewing one of the Appery.io's Facebook integration tutorials I was instructed to obtain the Facebook redirect URL by setting one of my builder pages as the startScreen and using the URL for the Face book redirect.(http://APPERY.IO/app/project/...). However, Appery.io hosted web apps have the following URL pattern (http://YOURSUBDOMAIN.appery.io/...)

OK, so I have a published site and a test site (with public and private access.) From a development perspective which is the correct Facebook redirect domain or does it matter?

For example, while testing an app with the builder as soon as login to Facebook I'm either redirected to the development test domain or the published sub domain depending on which Facebook redirect URL setting. I guess I'm asking for suggestions on best practices for production and development with Appery.io and Facebook URL redirection.

Lastly, I was under the impression that Appery.io Android Tester accesses the development environment (APPERY.IO) only and not the published YOURSUBDOMAIN. Is that correct?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

What Are The Relationships Between the Facebook Redirect URL and Appery.io Android Tester and the Appery.io Builder Test

When you are testing the app (from builder), the Facebook callback URL should point to one of the pages, for example: http://appery.io/app/view/xxxxxx/call...

Once you deploy the app on a domain (Appery.io or any other domain), you would need to update the callback URL to reflect the new domain.

Appery.io Mobile Tester is for testing hybrid apps (PhoneGap). You don't need to use it if you are building a mobile web app. Also note that you will need to use child browser feature when signing into Facebook with a hybrid app.

Return to “Issues”