h1k3's Forum Posts

  • Are you using nightly Firefox? I thought it was an error with my Facebook plugin but if your on the arcade you aren't using my plugin. So I can report the same for my app. Although a quirky thing. If I switch to a different tab and back to my app tab it suddenly works(black screen gone, my app shows)

  • prodigi

    Do you get the same from the regular Facebook plugin? It sounds like you may not have setup your app right on developer.facebook.com. You did create an app there correct?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • prodigi

    Use this plugin, it's my complete redesign.

    Facebook Advanced

  • Version 0.25 is here and with it brings the ability to find all a users friends game scores information. Also you can now access Facebooks built in age ranges to restrict access for users based on age appropriateness. Don't forget to check out the payments update which came out in version 0.24

    Current Version: 0.25

    Version 0.25

    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.

    <font color="green">Fetch Game Friend List</font> - Fetch a list of all users friends that play this app.

    <font color="green">Fetch game friend info by array ranking number</font> - Fetch game friend info by array ranking number.

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

    <font color="green">On Game Friends Loaded</font> - Triggered once all game friends have been loaded.

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

    <font color="green">Current friend score</font> - Current selected game friends score.

    <font color="green">Current friend name</font> - Current selected game friends name.

    <font color="green">Current friend ID</font> - Current selected game friends ID.

    <font color="green">Current friend rank</font> - Current selected game friends rank.

    <font color="green">Game Friend Array length</font> - Current selected game friends array length.

    <font color="green">Minimum Age Range</font> - The user's minimum age range.

    <font color="green">Maximum Age Range</font> - The user's maximum age range.

  • Login for Facebook native/desktop tutorial

    By using browser redirect login you can create desktop apps that integrate with Facebook.

  • Version 0.24 is here and with it brings the first Javascript Facebook Credits payment system. The Javascript payments only work on canvas apps(apps.facebook.com) so for mobile and direct website games you will need to use the browser redirection version(see tutorials. You will need to setup your callback.php file and also setup payments in your app settings still.

    Payments conditions:

    On Payment Success

    On Payment Failure

    Payments actions:

    Invoke Pay Dialog

    Payments expressions:

    Payment Order Status

    Payment Order ID

    Payment Error Code

    Payment Error Message

  • Hi everyone,

    I'm implementing the javascript payments for Facebook and would like to verify that I set it up correctly. Could you go to my app and simply push the button on the screen. It will pop up a payment dialog on the screen. Don't click buy, just verify that the currency is showing up in the upper right corner and let me know how much it shows for currency pricing if it isn't listed as US dollars.

    My App for testing

    Note: You will need to disable secure browsing in your Facebook settings for the app to show. I don't yet have an ssl certificate.

  • Hi everyone,

    I'm implementing the javascript payments for Facebook and would like to verify that I set it up correctly. Could you go to my app and simply push the button on the screen. It will pop up a payment dialog on the screen. Don't click buy, just verify that the currency is showing up in the upper right corner and let me know how much it shows for currency pricing if it isn't listed as US dollars.

    My App for testing

    Note: You will need to disable secure browsing in your Facebook settings for the app to show. I don't yet have an ssl certificate.

  • New Version contains a new way to engage users on their feed(wall)

    Prompt To Share Story - Action

    On Story Success - Condition

    On Story Failed - Condition

    See all features and get the latest version on page 1.

    Go To Page 1 For More Info

  • Current version contains a <BREAKING CHANGE> update to the Post Story action. Before you download the new version, remove all reference in your capx of the Post Story action and note their placement so you may place the new action in its place. New version allows for inclusion of mp3 files and a reference code for Facebook insights. Also the StoryFeedPostID now accurately records either the post id on success or the error message on failure. See the docs for more details on this action.

    Facebook Developers Feed Use and Explanations.

    Current Version: 0.22

    Facebook Complete 0.22

    Version 0.21 (old for breaking changes purposes)

    Facebook Complete

    Currently it has:

    Actions:

    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

    Conditions:

    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

    Expressions:

    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

  • Joannesalfa

    I'm still tweaking the post to share story. But it will eventually be PromptToShareLink, PromptToShareApp, PromptWallPost all in the same action. It is now but I'm going to make it so if you leave a line blank then it will not be included in the final feed. Currently it is.

    Also if you notice the get high score action. It has a new variable for appnamespace. This can be any appnamespace, not just yours. So the myid from apps.facebook.com/myid. This could be great to use if you want to try and get users from another game to come over. IE Have a "Limited time only, Farmville players get 10 free app credits for making the switch to coolgame". You just ping new users with that appnamespace and see if there is a score. Great marketing technique.

  • NEW VERSION:

    No Breaking Changes

    Current Version: 0.21

    You can find the most up to date versions here:

    Facebook Complete

    Currently it has:

    Actions:

    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

    Conditions:

    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

    Expressions:

    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

  • New Version 0.2

    Tried to organize the actions and conditions to make a little more sense.

    New expressions:

    StoryFeedPostID - Will equal "Post was published." if last Story post was succesful. Otherwise will equal "Post was not published.". This will change in the near future to be either the postid on success or error message.

    UserPicture- String returning the true url for the user profile picture. Not the graph.facebook.com version.

    New Action:

    Post Story - Post story to users wall or friends wall if you have friends ID.

  • Yes, correct! it should fix when the users were already logged in FB before the game launches if login again is not needed.

    Joannesalfa start the game off with the other three triggers to determine the actual state before determining what to do. For example on verified is where you would switch layouts or activate a logged in specific group on the event sheet. On logged in but not verified would be great to to login action or display game info and post a login button. The Facebook logged out trigger would be great if you want to display a non Facebook login option and a Facebook login button or give info about the game and display a login button or just simply fire the login action. It gives you much more ability at startup to determine what state they are in Facebook so you can display the appropriate info or activate the right actions/layouts. The logged in condition is just useful as you said for posting feed information.

  • New version 0.19 is up.

    New change this release is a new condition:

    "User Is Logged" In Will always be true if user has installed your app and is logged into facebook. Inverted will be true for users who are logged out of Facebook and/or have not yet verified your app.

    Up next scores dialog and additional user data expressions.

    Joannesalfa this is what you wanted right?

    Trust me, Is in logged in it shouldn't be a trigger event. It will break the share "variable" to wall when an user is already logged in FB externally before the game launches.