h1k3's Forum Posts

  • Version 0.28 is here and with it brings the ability to post a photo to the users profile using a picture url. In order to use a snapshot you will need to upload a photo to your server first or utilize the old rest api through an ajax plugin call. Don't forget to check out the payments update which came out in version 0.24

    Current Version: 0.28

    Version o.28

    Example Capx

    Capx

    Example in action

    Sample Here

    Version 0.21 (old for breaking changes purposes) If you are updating from version o.21, make sure to remove any story posting references first. Or you will need to revert back to this version to do so before updating.

    Facebook Complete

    <font color="red"><font size="6">CURRENT FEATURES</font></font>

    <font size="5">ACTIONS:</font>

    Update Status - Update the user login status

    Login Dialog - Log User Into your app

    Update Basic User Info - Fetch available basic user data

    Facebook Logout - Log User out of Facebook

    Delete App - Delete your application for the user

    Post Story - Post Story to Users Feed

    Publish score - Publish a score for this user

    Request user top score - Request user top score

    Prompt To Share Story - Prompt to Share Story to Users Feed

    Invoke Pay Dialog - Prompt User to Purchase an Item with Facebook Credits.

    Fetch Game Friend List - Fetch a list of all users friends that play this app.

    Fetch game friend info by array ranking number - Fetch game friend info by array ranking number.

    Login Popup - Log into your app using javascript(non redirect)

    <font color="green">Upload Photo by URL</font> - Upload a photo to the users profile.

    <font size="5">CONDITIONS:</font>

    On App User Logged In - triggers when user status changes to installed

    On App Not Installed - triggers when user status changes to not installed

    On Facebook Logged Out - triggers when user status changes to a user who has not logged into Facebook

    On Facebook Info Populated - Triggered When user Facebook Information Expressions are populated

    Is user logged in - True if currently being viewed inside Facebook by a logged in user

    On Story Success - Triggered when the last story action completes successfully.

    On Story Failed - Triggered when the last story action completes unsuccessfully

    On Payment Success - Triggered When user successfully completes a credits transaction.

    On Payment Failure - Triggered When user unsuccessfully completes a credits transaction.

    On Game Friends Loaded - Triggered once all game friends have been loaded.

    <font color="green">On Photo Upload Fail</font> - Triggered once a photo failed to upload.

    <font color="green">On Photo Upload Success</font> - Triggered once a photo has been uploaded.

    <font size="5">EXPRESSIONS:</font>

    UserID - Return the UserID of the Facebook player.

    UserAccessTokenExpiresIn - Return the seconds left until the Access token expires.

    UserLoginStatus - Return the login status of the Facebook player

    UserAccessToken - Return the current User Access Token

    UserSignedRequest - Return the current Signed Request

    UserFullName - Return the users full name

    UserFirstName - Return the users first name

    UserLastName - Return the users last name

    ThirdPartyID - Return the users Third Party ID

    UserGender - Return the users gender

    UserLocale - Return the users locale

    UserLink - Return the users Facebook link

    UserUserName - Return the users Facebook Username

    StoryFeedPostID - Return the PostID for the last story feed posting or error if an error occured

    UserPicture - Return the users true Facebook Picture Url

    ScoreError - Return the status of the last Score Posting

    Score - Get the score, when in a 'on user top score' or 'on hi-score' event

    Payment Order Status - A Facebook order status IE.. 'settled'.

    Payment Order ID - A Facebook order id.

    Payment Error Code - An error code identifying the error.

    Payment Error Message - An error message describing the error.

    Current friend score - Current selected game friends score.

    Current friend name - Current selected game friends name.

    Current friend ID - Current selected game friends ID.

    Current friend rank - Current selected game friends rank.

    Game Friend Array length - Current selected game friends array length.

    Minimum Age Range - The user's minimum age range.

    Maximum Age Range - The user's maximum age range.

  • I'd honestly be more concerned about how funny the Mexican looks. Spicy food is definitely something eaten a lot in Mexico. If you made a game about running across the border or taking siestas to earn points then it might be an issue. But chasing chilies shouldn't be an issue. Just avoid any negative stereotypes in character design and gameplay and you should be fine. But if its a concern still then contact your state board on human rights. They can direct you towards creating games that promote different cultures in a positive light. You would have the side benefit of being able to advertise approved by state of <state> department of human rights.

  • Facebook changed a lot in the past few months. Your right the ssl won't make this error happen, it'll just block the app from showing. One example would be the publish wall and publish stream permissions have merged into one permission publish stream. Can you share your capx for people to look at, maybe it's something in there?

  • taltal,

    Completely spaced out. I did learn that its much easier done through php but its possible through javascript by passing the picture data as a string. I'll look to adding it at some point today.

  • Did you check to make sure those plugins are still in the plugin directory? I know it's a silly question but it says it can't find the action. So maybe the plugin was erased somehow or you installed an update to a plugin that got rid of an outdated action?

  • You do not have permission to view this post

  • Sounds nice but its only in c and Visual Basic. Not sure if its useful for HTML. :(

  • I'm hoping someone can help me shed light on my issue. I've got an app that uses the ajax and cbhash plugins. My problem is the login group I'm sure of it. Also when my project is not minimized then it works flawlessly on all browsers.

    Ok the issue is during login in Firefox nightly with a minimized project. If you enter an incorrect password/userid then anything you after the fact cause this error:

    --

    [13:15:05.692] TypeError: this.a.ol(...) is undefined contactwizardpro.com/c2runtime.js:174

    If it's not minimized then it runs just fine in both browser. It also works fine in chrome minimized/unminimized. Can someone take a peek at my code on the login event sheet and see if there is an obvious error? I'd be eternally grateful.

    My capx

    If you want to try the error out then feel free to visit the site and enter any userid/password combo more then once in firefox.

    My website

    Kyatric, is there something I did wrong with your cbhash plugin to cause it?

  • There's probably an easier way but this should do it for you

    Directions

  • taltal I'll look into that over the next couple of days.

  • Lol sorry KYATRIC. Had a brain fart moment apparently.

  • Index ill ask the server company if they allow access to that on my end(firewall). But with the escaping, I use mysqli prepared statements and I was told by someone that those are escaped already and do not have access to the actual MySQL string. Did you hear different somewhere about mysqli prepared statements or were you speaking in regards to MySQL statements?

  • Index sounds like I have everything covered except the experimental stuff you mentioned. I even covered the cracker attacks. There can only be 5 failed login attempts per 2 hour period before it locks you out of the system(24 hour period or email request required to unlock) the password is shad twice each with a lengthy salt client side before going to the server. The server then shas it 3 times each with a random string. The first thing I did wax get a ssl cert. :) successful login sends a session variable made up of user information like ip, browser..... When these things change the session becomes invalid to avoid session jacking.

  • I use it to has a pw on the client side, send it to php, hash it again, save it. Then send an activation email to the user to confirm its indeed them. Over SSL. Index, is this a good way to go about doing it? The a mail use a random 1 time key not related to the pw for verification.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are third party plugins that allow IAP but I don't believe they are standard yet. I built the functionality into my Facebook plugin. Right now I'm working on a project that accepts payments through PayPal so I'm working on building that functionality for my app. So the abilities are all there and it is a step up from the competition. :)