I recently added sign-in via Google Friend Connect to the ham radio practice exams. It took a few days longer than I had planned. Using the example at: http://www.ossamples.com/api/ seemed like it should be simple enough, for an even more stripped down example try http://copaseticflows.appspot.com/glogin.
I could see that initAllData was running and sending the opensocial.newDataRequest(), but there was never a response that executed the callback function. After a few days of isolating code, it turned out that there is a conflict between Google Friend Connect and Prototype version 1.6 that ships with Scriptaculous. You can read all about it here, but the short version of the story is use the new version of Scriptaculous with Prototype 1.7.
I could see that initAllData was running and sending the opensocial.newDataRequest(), but there was never a response that executed the callback function. After a few days of isolating code, it turned out that there is a conflict between Google Friend Connect and Prototype version 1.6 that ships with Scriptaculous. You can read all about it here, but the short version of the story is use the new version of Scriptaculous with Prototype 1.7.
Comments
Post a Comment
Please leave your comments on this topic: