h1k3's Recent Forum Activity

  • part12studios,

    I received an email from facebook this morning saying that the API has been upgraded once again to a 2.2 so any apps built as of today will not work with any of the plugins out there. Granted it shouldn't take much to fix that. Long story short I'm home today and I'll be fixing the links on my website so it directs to http rather than https. I will also be working on updating my code. So give it a couple of hours and my website should be functional.

  • part12studios,

    The problem is the ssl certificate I had recently purchased is vulnerable to the poodle ssl attack. I have been trying to get my hosting provider to fix this but it is taking them forever. You should be able visit the site with old browsers or by http at http:/lockegames.com

  • Facebook only saves 1 number. So it's not really possible to use facebook scoring for a global leaderboard. Facebook doesn't allow you access to every members score. Just friends of the user. As for phonegap I don't know about crosswalk. I don't use phonegap myself. I had the help of a tester who used just used phonegap cli. I posted my working phonegap login code for Ashley to consider adding to the official plugin. So you might see phonegap login in the official facebook plugin soon. Not that I don't want to sells a copy of my plugin, but I don't want you to regret a purchase later if support is added into the official plugin. My plugin is geared more towards the website crowd.

  • Ashley,

    Is there a way to load an image string into the settexture function?

  • justifun

    I do apologize, I am aware of that. I had been upgrading the plugin so fast that it was hard to keep up with the documentation. I suppose that's a good thing for you as a user, all the updates. Now that things are settling down for this plugin a little I promise to spend more time on the documentation. In the mean time, I'm available and willing to support you through your implementation. Just send visit my facebook profile and message me, I have a messenger app for facebook so responses tend to be a lot quicker there.

  • You create a hosted button in your PayPal tools. This way keeps users from manipulating the price on you. When you do that, it gives you an ID code within the cut and paste code it creates. Place that id in the spot shown. Return text is the text that appears on the return to merchant button that appears on the PayPal receipt page. The success and cancel buttons are the url pages that you want a user to go to when they have completed a purchase or cancelled a purchase. The notify url while not required for a successful purchase, really is needed. It's the file that called where you will perform any actions necessary, such as saving the purchase to a MySQL database, or sending the file via email to the user as an attachment. I have included a skeleton copy of this file in the download. It's clearly labeled in the file where you need to place your success logic.

  • Add Paypal payments to your application/game.

    The plugin is in early development phase so only the Buy button is included. As always, all future updates are included with every purchase free of charge for the current API. So get your copy now while its 50% off.

    https://lockegames.com/?shopp_product=paypal-plugin

  • I don't have any games that Are public yet. I develop plugins and server programs for use with the Ajax plugin. You can review some of my programs on lockegames.com as well as testimonials for work I've done right on the home page.

  • I don't have any games that Are public yet. I develop plugins and server programs for use with the Ajax plugin. You can review some of my programs on lockegames.com as well as testimonials for work I've done right on the home page.

  • Is there a reason you could not utilize MySQL databases? With the right precautions you can do so relatively safely an either download the data to cvs format or manipulate it through server calls.

  • Ashley, here is a cut and paste of my Phonegap Facebook login. My code is an adjustment based off of the following website. http://blog.geniuspods.com/2013/10/15/h ... -phonegap/ You do need the 'in app browser' installed for Phonegap in order to utilize this and the domain and web addresses in the Facebook developer app settings need to be set to http://localhost. url_S in this example of course is set to "http://localhost/" while the state variable is user defined.

    Acts.prototype.Phonegap_Login = function (url_S,state)

    {//if(FB_API["Instance"].uid != this.uid){return;}

    if (check_app_Type("Phonegap_Login","PhoneGap") == false) {FB_API["Runtime"].trigger(cr.plugins_.Facebook2_1.prototype.cnds.Con_Phonegap_Login_Fail, FB_API["Instance"]);return;}

    ios_url = window.open("https://www.facebook.com/dialog/oauth?client_id="+FB_Properties["App ID"]+"&auth_type=rerequest&scope="+FB_API["scope"]+"&state="+state+"&response_type=token&redirect_uri="+url_S, '_blank', 'location=no,toolbar=no');

    ios_url.addEventListener('loadstart', function(e)

    { var url = e.url;

    var fburl = url.indexOf("facebook.com/login");

    var err = url.indexOf("error");

    if (err >= 0 && fburl < 0)

    {console.log(url);ios_url.close();

    //fbRuntime.trigger(cr.plugins_.Facebook3.prototype.cnds.fail_ios_logged, fbInst);

    }

    var n = url.indexOf("#access_token=");

    if (n >= 1){

    var tokensplit = url.split("#");

    var token_two = tokensplit[1].split("&");

    var accessToken1 = token_two[0].split("=");

    User["User AccessToken"] = accessToken1[1];

    console.log('InAppBrowser: loadstart event has fired with url: ' + User["User AccessToken"]);

    Fetch_User("me",User["User AccessToken"],function(FU_Status)

    {if (FU_Status == "success") {FB_API["Runtime"].trigger(cr.plugins_.Facebook2_1.prototype.cnds.CON_USER_SUCCESS, FB_API["Instance"]);}

    else{FB_API["Runtime"].trigger(cr.plugins_.Facebook2_1.prototype.cnds.CON_USER_FAIL, FB_API["Instance"]);}

    });ios_url.close();FB_API["Runtime"].trigger(cr.plugins_.Facebook2_1.prototype.cnds.CON_USER_LOGIN, FB_API["Instance"]);

    }});

    };

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So are we not helping to update the official facebook and Google plugins for phonegap? Just checking in because I haven't heard anything else. Not that I don't mind, people can still buy the facebook plugin I built with phonegap support at my website, but I thought it would be nice to throw out the phonegap login for the official version due to how awesome the community and developers are here.

h1k3's avatar

h1k3

Member since 1 Apr, 2012

Twitter
h1k3 has 3 followers

Connect with h1k3

Trophy Case

  • 12-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies