Java Games on Facebook?

I left my previous workplace around the time they were porting the game (MoiPal) to Facebook. Was wondering if anybody knows of any other Java games on Facebook?
And here I mean real, moving games not click and wait stuff like the Mafia Wars stuff…

Been wondering if i should be interested in porting slicks to FB, would be nice to know more of the limits and hurdles involved.

you can build IFrame-likes facebook applications, so I think there is no really need to port anything as long as you use Applet, no ?

If it’s that simple… Wonder why people don’t distribute more samples through fb. Zynga is making a killing with suboptimal games.
better get busy, thanks

If it’s that simple… could you please upload a simple working example (bouncing ball, displaying friends list?) I can’t find any.
That would be G R E A T

http://t-machine.org/index.php/2007/08/02/how-to-make-facebook-apps-using-java-part-1/

From our very own blahblahblahblahblahblahblahblahblahblahblahblahblah…

Kev

EDIT: Oh, and since his links are broken:

http://t-machine.org/index.php/2007/08/13/how-to-make-facebook-apps-using-java-part-2/

http://t-machine.org/index.php/2007/09/21/ten-tips-and-tricks-for-writing-facebook-apps/

Those links are about Servlets - and there is a more up to date library for that
http://code.google.com/p/facebook-java-api/

I don’t think you can do a bouncing ball with that. I could not find a single Applet integrated in Facebook.
The old Image Uploader was an Applet, but they dropped it.

He seems to cover the iframe intergration, after that presumably the API interaction is basically the same in that you’re still going to have to make web app style requests.

Kev

So, is there a working Java Applet on Facebook (even without any API calls) ?
If not, I guess it is not possible, IFrame or not.

http://apps.facebook.com/moipalapp

:smiley: :smiley: :smiley:
Yay! You made my day.
(What a bad Zack McKracken Clone)
Off to trying it myself :slight_smile:

I made a facebook application test a cupple of monthes ago, I will see if I can get the source code back and will post it (but as I remember it is just few lines of code)

my site seems to run in Facebook now:
http://apps.facebook.com/kaiguessgame/?_fb_fromhash=b8e39bf8efafa4b05177c49b425d0770

still way too big, no mouse cursor, rendering errors, but it works :slight_smile:

edit: just for testing purpose :wink:
edit: very instable, there should be an applet (works every 3rd time?)
final edit: everything works, including scores! All I have to do now is to rescale the Applet and include the API stuff

that’s cool :slight_smile: works fine here

worked fine for me too!

here is this really fantastic source code I told about… mouhahaha :slight_smile:

need two files :
first :

index.php

<?

echo "<fb:iframe src='http://dzzd.net/facebook/test/test.html' frameborder='0' scrolling='no'>";

?>

and a second one :

test.html (inded located at the proper URL)

<HTML>
	<BODY>
		FACE BOOK HTML APP => CAN BE AN APPLET
	</BODY>
</HTML>

then you can do everything as usual on your own server

the app here http://apps.facebook.com/testaab/
and inded here http://dzzd.net/facebook/test/test.html

here more information : http://developers.facebook.com/get_started.php

EDIT : joined the application configuration

here is a simple example how to pass parameters from the Facebook API to Applets (via PHP)
http://bncapps.com/java-applet-as-a-facebook-app/

But you’re supposed to have a Facebook-enabled webserver, to use facebook-php-api [quote]Note: From this point on, I am already assuming you downloaded the Facebook API PHP files and have them all in a folder. The scripts we are about to work on must be in the same folder.

//Read more: http://bncapps.com/java-applet-as-a-facebook-app/#ixzz0eBct2TDr
[/quote]
Best way to relay on the java facebook api. In either case, the fb app must be registered as a Web Application NOT Desktop (be careful with that because it cannot be changed after your app is registered, then you can lose secret keys etc.).