h1k3's Forum Posts

  • developers.facebook.com/docs/reference/dialogs/requests

    Tells you how to do the requests like other games.

    You'll need ajax like the other person mentioned to both send the request and if to communicate with your online database to store the requested help(ie add potions to player x)

  • I updated my Facebook tutorial with a different login method. I don't use the javascript method so I'm not sure if the plugin works. :(

    Updated Tutorial with new capx

    These work out of the box if you follow the updated directions, this can be seen at My shopping example

    Notice on the website your name shows up. If you look in the capx you will see I never login using the facebook plugin and the user access token is available in the address bar for graph calls..... I know this doesn't fix the bug, just wanted to point you to a different way to log in.

    Lance

  • Velojet

    Can you verify something in your account settings, along with all other testers. Go into the payment section of the Facebook account settings. Make sure the preferred currency is set to your local currency. Then try the link again please. I'm still waiting for the payment docs from Facebook but I believe this needs to be set for currency to work properly.

  • My example Facebook store.

    My store template

    Capx and callback.php can be found in my tutorial:

    Files, please leave positive comments while there and upvote my tutorial.

    Make sure you do not complete purchase, unless you want to. I wouldn't mind a donation towards getting my business license on here and when my game is up it will be added to the in game currency. :) Anyways, enjoy I hope it helps you all make a fortune.

    Lance

  • How bizarre, I wonder why it shows correct for you. I wouldn't think it was a windows thing since I'm using Facebook dialogs for integration. I'll have to research more. Thanks for the update everyone.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I have a bunch of error codes I'm stringing through say:

    var error = "yup_you_messed_up"

    do I just have a bunch of statements:

    queryparam("error") = "awesome" run statement

    queryparam("error") = "yup_you_messed_up" run statement

    or do I add an else for each line:

    queryparam("error") = "awesome" run statement

    else

    queryparam("error") = "yup_you_messed_up" run statement

    Is there a right way to do this? I want to check for about 30 error codes altogether.

  • Thanks, I didn't think so. You mentioned a javascript plugin last night? I need the local currency javascript stuff for it to translate correct. Or so it would appear.

  • https://www.facebook.com/dialog/pay?app_id=292270917524005&redirect_uri=http://lockegames.com/relicsofyore/?purchase=gems_100&action=buy_item&order_info={"item_id":"1b"}&dev_purchase_params={"oscif":true}

    Hey overseas friends. Can you follow the link above and just verify that the currency rate shows up using your currency and exchange rate? Obviously cancel out of it. Just look and verify it shows your currency amount in the money section.

    Thanks a bunch

    Lance

  • Look up the browser object in the manual. It also has a user agent reference point. I think it's browser.useragent or browser.vendor something like that.

  • It was in the email with the attachment. I remember that much :) I think ;)

  • Tutorial is up. I'll strip down my capx and add it later. It has other features not particular to this like server side login and fetching a user token. So I need to strip that stuff out.

  • No takers? :( alright it was worth a shot. Ill be putting up the tutorial later today or tomorrow. So keep an eye out. Ill be uploading my capx as an example too.

  • If someone wants to help me get an upgrade to business license I'd be more then happy to upload my main app and php file for example and write a tutorial?

    Probably won't be any takers but its worth a shot at least. :)

  • Ill pop on chat in here in a minute to see if your on. The chat here still works right?