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.28Version o.28
Example in actionSample 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 CompleteCURRENT FEATURESACTIONS:
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.
- Upload a photo to the users profile.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
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.On Photo Upload Fail
- Triggered once a photo failed to upload.On Photo Upload Success
- Triggered once a photo has been uploaded.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
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.