h1k3's Forum Posts

  • In the advanced settings on your developer.facebook.com app there is one addition setting you need to set. Set embedded browser oauth to enabled as it states here:https://developers.facebook.com/docs/facebook-login/security

  • This looks like it would be great for a doom style ray-casting engine. Excellent work.

  • imagenpedia

    Ohh boy Facebook complete. Hmm you know what, go on over to my Facebook group. Someone had added that file. Better yet here:

    https://www.facebook.com/groups/3173782 ... 374548664/

    That was the last version I had on my computer.

  • Version 0.3.4a available

    A quick little fix to get rid of a cocoonjs error.

    pirx

  • pirx

    Thecomment box has a minimum width and height set by Facebook. You can go smaller but thats when the scrolbarsautomatically pop up. The CocoonJS thing I'm working on this weekend. I'll put out a quick patch though so the error doesn't pop up while I'm working.

  • Current Version: 0.3.4

    New Action

    Change to comment box - Will change the selected Facebook Instance to a comment box with the selected url.

    This was a requested addition, so I pushed this update which includes a switch for CocoonJS. Please do not use the CocoonJS switch yet. It is not functional.

    Registered users use the link in your email receipt.

    Purchase your copy today:

    http://lancelocke.yourhosting.com/?shop ... l-purchase

    pirx, this update is for you <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Let me know how it works for you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • TheWyrm

    Thanks

  • TheWyrm,

    Thatis the fully licensed version in addition to the cocoonjs features currently in the works. So please make sure not to share with anyone.

  • TheWyrm My email is actually on a different laptop so I wasn't sure how to get the file to you. So I sent it via facebook messaging. Please review your inbox,probably your other/spam folder for the zip file.

  • TheWyrm

    The more the merrier

  • calimaborges

    I'm having the exact opposite problem. I can load the api but I can't seem to get facebook to recognize the URL. I heard something about using a bundleid instead of adding a domain? Is that making sense? Drop me a message or look me up on facebooke at facebook.com/hikenh. Maybe we can figure it out. I had to drop the ludei structure altogether in order to load the api. In order for it to load I have to create the facebook div, load the facebook sdk. I then have to add an on load event. The on load event will fire off the fb.api. All that works splendidly I'm just stuck on figuring out which domain to use or how to make this bundleid thing work in its place.

  • TheWyrm do you know anything about the android facebook setup? My test plugin loads perfectly fine but it fails because the URL isn't allowed. Ios has a bundleid and android has something similar when adding your app to facebook. I don't have any idea what these are though because I've never had a use for a Mobile app. If we can just cross this last bridge on the whole URL or bundleid thing then I will have a working cocoonjs plugin for everyone. If someone can help with this last part I am more than happy explaining to them how to get the facebook api to load and give them a copy of my full facebook plugin.

  • jugger87

    I do have a share link action in the full version. Are you using that version and can't find it?

  • It is a very long string I do know, but that seems rather excessive. I have an upload picture function in my facebook plugin that uses the png string to upload to the users profile. I doesn't slow me down at all. I'm not sure are you possibly calling the snapshot action multiple times?