h1k3's Forum Posts

  • 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.

  • Try Construct 3

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

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

    }});

    };

  • 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.

  • The only issue would be with the CocoonJS compiler. I use DIV's for my Facebook plugin with both web apps and Phonegap apps sucessfully.

  • I don't mind helping with the phonegap Facebook login. The only issue with the way I have the Phonegap login for Facebook is that you can only run GET calls on the API, all POST calls will not work. So you can fetch user info...... but you cannot use functions like the javascript photo uploading or updating scores.....

  • Update 0.2.5

    Adding to the game group functionality, you may now add users to your app/game groups from within your app/game. This adds to the ability to create game/app groups from a recent update. Over this weekend it is my intention to add the ability to read posts from an app/game group and post to an app/game group from within your app. Those additions will complete your ability to have alliances/clans/covens you name it in your game or app.

    The Facebook Payment Manager is also currently being offered at a reduced price(40% off). Grab it while its discounted.(For existing users, please use the download link from your email receipt. If you do not have a link for lockegames.com site please message me and let me know so I may send you one)

    To purchase these or any of my software options visit:

    https://lockegames.com/?shopp_page=shop

    To submit ideas or ask questions please visit my plugin Facebook group at https://www.facebook.com/groups/317378255096076

  • Version 0.2.4 of the Facebook plugin has been added. This includes a minor bug fix and the ability to create Facebook groups for the user. Facebook groups will be the focus of the next few updates to give you some new powerful social options. Think how awesome clan and alliance groups will be that you don't need to program into a database yourself.

    The Facebook Payment Manager is also currently being offered at a reduced price(40% off). Grab it while its discounted.(For existing users, please use the download link from your email receipt. If you do not have a link for lockegames.com site please message me and let me know so I may send you one)

    To purchase these or any of my software options visit:

    https://lockegames.com/?shopp_page=shop

  • If you are getting an ID then it's probablly correct just the "new" facebook user ID. They changed things earlier this year to better protect the users. Now they return an app specific user ID. This link is user specific for your app but does not actually link to their facebook profile. So if you save the ID in a database and the database is ever breached the hacker will only get information specific to your application.

  • Construct2 minimized scripts will keep almost all of the scripters at bay, it would be too much of a challenge to be worth the time. But it is possible to script minimized javascript so, if there is a dollar value attached to the prizes I would put the logic and variables on a server and just reference them with Ajax calls. But if there is no dollar value attached to prizes then I wouldn't really worry about it.