File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Facebook application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Facebook application" Watch "Facebook application" New topic
Author

Facebook application

Dev Anand
Ranch Hand

Joined: Aug 30, 2009
Posts: 41
Hi,
I'm trying to get the facebook into my web application. Can anyone send the java source files to connect to facebook n get the friends list from my application.
It should work as if i'm working from my application(For example, In Rediff, we can connect to Facebook. There it prompts for login. Once we login there, all my freinds list
will be displayed.) We never get a feeling that we are connecting to facebook from Rediff.
Thank you

With Regards
Dev Anand. P
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

You could start with the Facebook Developers site.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Dev Anand
Ranch Hand

Joined: Aug 30, 2009
Posts: 41
Joe Ess wrote:You could start with the Facebook Developers site.


Hi Joe,
Thanks for your reply.
I have tried that Facebook Developers site.
But that is not the requirement for me.
I'll clearly explain my requirement now.
I have a website. From that website, I want to login to Facebook, get friends list and chat with my friends. Everything should be done from
my site itself. Whoever visit my website, they can login to Facebook n chat with their friends. For better understanding about my requirement, login to rediff and then go to Facebook, there you won't get a feeling that you are working on Facebook website. I need a jar file with which i can directly contact Facebook.
I hope you got what I want to tell.
I'll be waiting for your quick reply.
Thanks in advance.

With Regards
Dev Anand. P
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41630
    
  55
I'd say your two options are either a) to use a Facebook-provided API to do whatever you want to do (in which case the Facebook developer site has everything you need), or b) to work on the HTML and HTTP level with a screen-scraping approach, in which case a library like jWebUnit would come in very handy.

I very much doubt that the problem is as simple as adding a jar file to your web site and through that somehow obtain this functionality.


Ping & DNS - my free Android networking tools app
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Like in the link above, but one link in that page takes you to

http://developers.facebook.com/connect.php

It is an api for your web site to use, and they now have one for iPhone apps too.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Facebook application