We are working on a Canvas application which is not yet on the Yahoo Games Channel (so - currently it's only accessible via "Test Canvas") and using Flash for integration with Yahoo Games API.
So far it looks that login and payments are more or less working for us but we cannot get Friend functionality to work:
- Code: Select all
client.yahoo.relations.showRequestFriendshipDialog(userId, onInviteFriend);
client.yahoo.relations.showFriendsManager(onInviteFriend);
(client is playerio.Client and is obtained successfully)
We get an error "When using yahoologin:auto, the containing page must include the yahoo.js script"
Error log in the application settings is empty.
Does this error occur because this functionality is only available on live applications? How would it be possible to test it? Does the friend functionality work for any other applications? I've seen a few other applications load yahoo.js but I don't think I've seen any application use the list of friends provided by Yahoo Games (those application which have friends, maintain their own separate lists of friends). Is it possible to see examples of how these methods work?