Request: Add THIS Facebook.lua Example...

GAME EDITION

I understand that this is probably already possible with Corona due to the included facebook.lua API, but the Facebook API is pretty confusing in itself, so right now the only thing I can do with the included facebook.lua is what the example shows, which is simply updating your status.

My request is this:

Create an additional Facebook example that shows us how to have a player access their friends list to compare their score to their friends.

Example Apps: Doodle Jump and Bejeweled Blitz

I understand that by including OpenFeint, you can include a global leaderboard, and even import your friends from Facebook BUT… you have to “import” your friends, which not everyone really wants to deal with (or even know what that means), and even after all that the only people who show up on your friends list ultimately are others who are also on OpenFeint.

Being able to access your friends straight through the Facebook API will allow us to program a simple, CUSTOM leaderboard that compares the player’s score with their friends, quickly without ever having to leave the game. This will also allow us to skin the leaderboard to match our game.

I know this probably isn’t something that would be very high priority (since your main focus is performance/bugs, etc), but I figured I’d send the request anyway since there is already an included facebook.lua that allows us to access the API and perhaps just a simple new example needs to be included to allow us to do this.

Thanks!

[import]uid: 7849 topic_id: 1914 reply_id: 301914[/import]

Suggestion noted, thanks!

I gather the idea here is some kind of lightweight, game-specific framework for working with Facebook friends, as opposed to the full OpenFeint overhead. [import]uid: 3007 topic_id: 1914 reply_id: 5878[/import]

I think I may have figured out how to do this using an external webserver and web-popups (I’m using free account at Kodingen.com, which is like Google App Engine but allows PHP… free for 1gb transfer/month).

If I get it working, I’ll definitely post an example (though I won’t have a working example as I don’t want to eat up my server’s bandwidth, but I’ll definitely explain how to do it and provide the appropriate PHP files). [import]uid: 7849 topic_id: 1914 reply_id: 6658[/import]

You can scratch this request, it’s already possible with Corona.

For anyone interested in learning how to do it, visit this thread:

http://developer.anscamobile.com/forum/2010/10/06/tutorial-facebook-friends-leaderboard [import]uid: 7849 topic_id: 1914 reply_id: 7203[/import]