calimaborges Ok my first attempt didnt work but I think I might know why now. I didn't use any of the cocoonjsfeatures(so I didn't take into account webview versus canvas) If your plugin worked up until recently then it could be a couple of things related to Facebook upgrading its api to 2.0. First the sdk file no longer ends in an all.js, instead it should be the following //connect.facebook.net/en_US/sdk.js so an sdk.js. Finally the fb.init function has been changed. The channel file is no longer necessary and a new item called version is included.
FB.init({
appId : parseInt(list1),
xfbml : xfbmlvar,
cookie : cookievar,
status : statusvar,
frictionlessRequests : frictionvar,
version : 'v2.0'
});
notice the version has been set to v2.0 not just 2.0.
Another issue is how you are grabbing achievement information. You should remove it because it requires an app access token for that request. You don't have that saved so it's going to fail when you call it.
FB.api(srv.applicationID + '/achievements', function(achievementsInfo) {
if (!achievementsInfo.error) {
srv.allAchievementInfo = {};
for (var i = 0; i < achievementsInfo.data.length; i++) {
var achievementInfo = achievementsInfo.data;
srv.allAchievementInfo[ achievementsInfo.data.id ]= achievementsInfo.data;
}
if ( srv.abstractToSocialGamingAchievementMap ) {
for( var i=0; i<achievementsInfo.data.length; i+=1 ) {
var serviceAchievementId= achievementsInfo.data.id;
if ( !srv.abstractToSocialGamingAchievementMapInverse[ serviceAchievementId ] ) {
console.log(" service achievement '"+serviceAchievementId+"' has no abstract couterpart.");
}
}
}
Those are the only glaring items I can find atm. Please try those changes in your plugin.