Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java Games on Facebook?  (Read 11764 times)
0 Members and 1 Guest are viewing this topic.
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Posted 2010-01-27 12: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.

Offline DzzD
« Reply #1 - Posted 2010-01-27 22: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 ?

Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #2 - Posted 2010-01-28 00: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!
Legends of Yore - The Casual Retro Roguelike
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #3 - Posted 2010-01-29 09: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

lots of sillystupid games: http://www.emaggame.com
Online kevglass

JGO Kernel


Medals: 118
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2010-01-29 10:37:53 »

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/

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #5 - Posted 2010-01-29 10: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.

lots of sillystupid games: http://www.emaggame.com
Online kevglass

JGO Kernel


Medals: 118
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #6 - Posted 2010-01-29 10: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

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #7 - Posted 2010-01-29 11: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.

lots of sillystupid games: http://www.emaggame.com
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #8 - Posted 2010-01-29 11:54:22 »

http://apps.facebook.com/moipalapp

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #9 - Posted 2010-01-29 12:14:30 »

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

lots of sillystupid games: http://www.emaggame.com
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline DzzD
« Reply #10 - Posted 2010-01-29 13: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)

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #11 - Posted 2010-01-29 14:04:21 »

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  Smiley

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 

lots of sillystupid games: http://www.emaggame.com
Offline DzzD
« Reply #12 - Posted 2010-01-29 17:05:02 »

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  Smiley

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 Smiley works fine here

Offline noblemaster

JGO Ninja


Medals: 20
Projects: 10


Age of Conquest makes your day!


« Reply #13 - Posted 2010-01-29 20:21:14 »

worked fine for me too!

Offline DzzD
« Reply #14 - Posted 2010-01-31 09:59:50 »

here is this really fantastic source code I told about... mouhahaha Smiley

need two files :
first :

index.php
1  
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.html

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

EDIT : joined the application configuration

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #15 - Posted 2010-01-31 10:53:54 »

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/

lots of sillystupid games: http://www.emaggame.com
Offline broumbroum

Junior Member





« Reply #16 - Posted 2010-01-31 12:02:17 »

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


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.).

::::... :..... :::::: ;;;:::™ b23:production 2006 GNU/GPL @ http://b23prodtm.webhop.info
on sf.net: /projects/sf3jswing
Java (1.6u10 plz) Web Start pool
dev' VODcast[/ur
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (36 views)
2014-07-18 06:55:21

Zero Volt (34 views)
2014-07-17 23:47:54

danieldean (27 views)
2014-07-17 23:41:23

MustardPeter (30 views)
2014-07-16 23:30:00

Cero (44 views)
2014-07-16 00:42:17

Riven (46 views)
2014-07-14 18:02:53

OpenGLShaders (35 views)
2014-07-14 16:23:47

Riven (35 views)
2014-07-14 11:51:35

quew8 (31 views)
2014-07-13 13:57:52

SHC (67 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!