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

Post your completed addons to share with the community

Post » Wed Feb 13, 2013 11:20 pm

I've tested my game with facebook like 50 times, "On user logged in" is not an anytime solution, only it's designed to trigger like pop-up window and that's all.

"Is in user logged in" it's an unique solution can share their variables to wall without errors, it should work anytime if user is already logged in.Joannesalfa2013-02-13 23:21:19
B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

Post » Wed Feb 13, 2013 11:29 pm

Have you tested this plugin so far @Joannesalfa
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Thu Feb 14, 2013 9:52 am

Yep. I was using other facebook plugins, i was looking full complete facebook, it would be awesome if you made it yourself :D
B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

Post » Thu Feb 14, 2013 9:54 pm


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?

[QUOTE=Joannesalfa] 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.[/QUOTE]
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Thu Feb 14, 2013 11:31 pm

Yes, correct! it should fix when the users were already logged in FB before the game launches if login again is not needed.
B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

Post » Fri Feb 15, 2013 12:05 am

[QUOTE=Joannesalfa] Yes, correct! it should fix when the users were already logged in FB before the game launches if login again is not needed.[/QUOTE]

@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.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Fri Feb 15, 2013 9:27 pm

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.
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Sat Feb 16, 2013 4:57 am

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
B
68
S
21
G
15
Posts: 701
Reputation: 15,604

Post » Sat Feb 16, 2013 5:59 am

Nice one! I guess i should make a .capx about complete sandbox
B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

Post » Sat Feb 16, 2013 6:00 am

btw is "Post Story" equivalent to "Post wall" ?
B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: HarDBinGer, Sobieski74, Yahoo [Bot] and 1 guest