Karmington
|
 |
«
Posted
2010-01-27 11:51:57 » |
|
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.
|
|
|
|
DzzD
|
 |
«
Reply #1 - Posted
2010-01-27 21:49:58 » |
|
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 ?
|
|
|
|
Karmington
|
 |
«
Reply #2 - Posted
2010-01-27 23:42:57 » |
|
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
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Hansdampf
|
 |
«
Reply #3 - Posted
2010-01-29 08:00:49 » |
|
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
|
|
|
|
kevglass
|
 |
«
Reply #4 - Posted
2010-01-29 09:37:53 » |
|
|
|
|
|
Hansdampf
|
 |
«
Reply #5 - Posted
2010-01-29 09:57:38 » |
|
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.
|
|
|
|
kevglass
|
 |
«
Reply #6 - Posted
2010-01-29 09:59:43 » |
|
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
|
|
|
|
Hansdampf
|
 |
«
Reply #7 - Posted
2010-01-29 10:04:42 » |
|
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.
|
|
|
|
Karmington
|
 |
«
Reply #8 - Posted
2010-01-29 10:54:22 » |
|
|
|
|
|
Hansdampf
|
 |
«
Reply #9 - Posted
2010-01-29 11:14:30 » |
|
 Yay! You made my day. (What a bad Zack McKracken Clone) Off to trying it myself 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
DzzD
|
 |
«
Reply #10 - Posted
2010-01-29 12:57:19 » |
|
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.
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)
|
|
|
|
|
DzzD
|
 |
«
Reply #12 - Posted
2010-01-29 16:05:02 » |
|
that's cool  works fine here
|
|
|
|
noblemaster
|
 |
«
Reply #13 - Posted
2010-01-29 19:21:14 » |
|
worked fine for me too!
|
|
|
|
DzzD
|
 |
«
Reply #14 - Posted
2010-01-31 08:59:50 » |
|
here is this really fantastic source code I told about... mouhahaha  need two files : first : index.php1 2 3 4 5
| <?
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) 1 2 3 4 5
| <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.htmlhere more information : http://developers.facebook.com/get_started.phpEDIT : joined the application configuration
|
|
|
|
|
broumbroum
|
 |
«
Reply #16 - Posted
2010-01-31 11:02:17 » |
|
But you're supposed to have a Facebook-enabled webserver, to use facebook-php-api 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.).
|
|
|
|
|