Page 1 of 1

Facebook Integration on Android

Posted: Fri Oct 17, 2014 2:10 am
by William Jamieson
Hello, I am trying to get the aagFacebookMobileLib stack to work on my Android device. I looked through the code and it looks like it should be working, but I get no visible action from the authentication button where it usually pops up a screen so that you can log in. So I am wondering what I have to do to get it working.

Does anyone have any experience with this? Make any adjustments to this stack?

(Testing on Galaxy S3)

-Will

Re: Facebook Integration on Android

Posted: Fri Oct 17, 2014 2:33 am
by William Jamieson
Cool I was able to figure it out already...

The loading of the api stack seemed to work when instead of simply writing

start using stack "aagFacebookMobileLib.livecode"

Rather I used this script

Code: Select all

put item 1 to -2 of (the fileName of this stack) into tLibraryPath
   put "/aagFacebookMobileLib.livecode" after tLibraryPath
   put tLibrarypath & cr into field "log" of this card
   start using stack tLibraryPath
Hope that helps anyone in the future!

-Will