Page 3 of 4

Facebook Login

Posted: Fri Jun 01, 2012 10:42 am
by DougHoseck

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???


Facebook Login

Posted: Fri Jun 01, 2012 3:54 pm
by maxkatz

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

See step #3 box.


Facebook Login

Posted: Mon Jun 04, 2012 3:48 pm
by DougHoseck

Max, you are a star. Thanks.


Facebook Login

Posted: Mon Jun 04, 2012 3:51 pm
by DougHoseck

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}"


Facebook Login

Posted: Mon Jun 04, 2012 4:01 pm
by maxkatz

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


Facebook Login

Posted: Sun Jun 17, 2012 8:38 am
by zeroonea

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)?


Facebook Login

Posted: Sun Jun 17, 2012 4:03 pm
by Srihari Yamanoor

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?


Facebook Login

Posted: Sun Jun 17, 2012 4:48 pm
by maxkatz

To which page exactly do you get redirected?


Facebook Login

Posted: Sun Jun 17, 2012 4:49 pm
by maxkatz

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


Facebook Login

Posted: Sun Jun 17, 2012 4:57 pm
by Srihari Yamanoor

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!