DougHoseck
Posts: 0
Joined: Fri Jun 01, 2012 10:42 am

Facebook Login

I am having the same problem as "dornz". The login button redirects to the app for authentication and then returns to the correct URL. BUT the return page is blank.

If you delete "#=" or you delete all the "state" & "code" that FB adds to the URL, the page loads correctly.

I have debugged my return page and there are NO javascript errors. As near as I can work out, the problem is the JS code which loads on the return uri. That JS code is meant to assign the "code" from FB to "code" in local storage. But nothing is being assigned, so I assume there is something wrong with that piece of code in the tutorial???

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

Facebook Login

I updated the tutorial to fix this issue: http://help.tiggzi.com/documentation/...

See step #3 box.

DougHoseck
Posts: 0
Joined: Fri Jun 01, 2012 10:42 am

Facebook Login

Max, you are a star. Thanks.

DougHoseck
Posts: 0
Joined: Fri Jun 01, 2012 10:42 am

Facebook Login

The next question or rather related function Would be this (& if this is beyond the scope of your support, I understand):

Once you get them logged in via FB, how can I publish a link to their timeline, something along the lines of "I just logged in to the following app {link}"

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

Facebook Login

You should check but I think it's just http://facebook.com/user_name

zeroonea
Posts: 0
Joined: Sun Jun 03, 2012 8:29 am

Facebook Login

I read the tutorial (http://help.gotiggr.com/documentation.... But it redirect to a tiggzi website with app screen. Not really the app. How to make it back to the app after login to fb (not the web site)?

Srihari Yamanoor
Posts: 0
Joined: Sat Jun 16, 2012 10:37 pm

Facebook Login

When I test this on my android phone, the data is still not populated. Works fine on the Chrome browser. Is this still only for web apps or am I missing a step?

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

Facebook Login

To which page exactly do you get redirected?

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

Facebook Login

The current tutorial is for mobile web app only. We will update it soon for native apps as well.

Srihari Yamanoor
Posts: 0
Joined: Sat Jun 16, 2012 10:37 pm

Facebook Login

Thanks Max. It almost works - When I click Connect with Facebook - I am directed to login with Facebook, and successfully taken to the next page. However, once I go to the next page, the camera and barcode scanner wont launch on click, but geolocation works.

I know this is too much to ask, but I was wondering if there is a javascript script to execute after the "get data" service that will let the camera and barcode scanner work. If I don't use the facebook login page, the camera, location and barcode all work fine.

By the way - thanks for all your excellent help and amazing tutorials!

Return to “Issues”