[Facebook for Websites] - Update 1-29-2016

Post your completed addons to share with the community

Post » Mon May 06, 2013 8:25 pm

ersion 0.30 is here. This version adds the ability to fetch the users birthday and email address.


Current Version: 0.30
Version o.30

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

CURRENT FEATURES

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
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)
Upload Photo by URL - 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.
Email - Users Email Address
Birthday - Users Birthday mm/dd/yyyy format
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Mon May 06, 2013 11:29 pm

Thanks!

I'm struggling to make it working to post something in wall, would you explain a mini-tutorial?

Sometimes i use official facebook plugin, but it's kinda out-dated.

B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

Post » Mon May 06, 2013 11:48 pm

Did you request the streaming permission?
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Mon May 06, 2013 11:50 pm

Did you request the streaming permission? There is a lot to it because its so versatile. Ill see if I can start putting something under tutorials tonight. But it might take a few days before its complete.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Tue May 07, 2013 12:41 pm

Super excited about trying this out. Seems like you've been doing some amazing work lanceal!

Is there a way (that you know of) I could use this to look up all (not just the ones using the app) the players friends and fill an array with their names?
B
4
Posts: 4
Reputation: 525

Post » Fri May 17, 2013 2:04 pm

Still don't see any way to send a message between players. Does the Facebook interface have something that will do this?
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
38
S
9
G
3
Posts: 149
Reputation: 5,986

Post » Fri May 17, 2013 7:20 pm

It does @sinistar99 although it would require user click acknowledgement. So you can read messages if given permission and you can send messages for the user, however it will require the user clicks an "I'm sure I'm ok with sending this" type of button for it to go through. I also believe with the changes recently to Facebook that these messages will be sent to the other(spam) folder by default.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Thu May 23, 2013 1:39 pm

@ lanceal,

I have download facebookexample.capx file and check it on google chrome when it open on Google chrome it show noting just a white background appear on the screen what is the issue did you know ?
B
12
S
2
G
3
Posts: 57
Reputation: 3,439

Post » Thu May 23, 2013 2:55 pm

@rob,

currently the example just shows you how to log a user into the system and adds a little button to upload a picture to the users profile. None of the features are detailed there except how to handle the log in. You would need to have your facebook developer account already setup so you can input your app id into the plugin, but after that it should log a user in fine for you and upload a picture of the white background to the users profile.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Thu May 30, 2013 12:29 pm

I can't open Example Capx, who can help me? i use c2 r199
that file only can be opened with c2 r122 or higher :(
B
3
Posts: 8
Reputation: 191

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: tanzero and 4 guests