I want to create an android Facebook chat application , i found this open source project ..
http://coderrr.wordpress.com/2008/05/06/facebook-chat-api/
but i want to ask whether this "Facebook chat api" is still working ?
If no, what is the way to creat a facebook chat ?
Dig a bit deeper into http://developers.facebook.com/docs/chat/. There are a number of XMPP and related APIs for Java, C#, iOS, and Android alike to be found on the web - or you can base such work on the libpurple API from Pidgin (http://www.pidgin.im/). It would behoove you to become familiar with XMPP concepts.
There is great simple code https://github.com/KanybekMomukeyev/FacebookChat , i used it in my app.
Facebook provides their own chat API. See the docs at Integrating with Facebook Chat. They provide sample code in PHP.
You can also use Jabber to authenticate with Facebook. You'll need an application key to ensure this all works.
U can integrate fb chat using facebook authentication or by digest md5...the code given there does not use any API keys nor it uses digest md5 authentication... So not sure whether it ll wrk...try it out... the overall architecture would be
app<->xmpp<->BOSH<->Facebook chat
Since fb support xmpp protocol u can set an xmpp chat client using lib lik smack,strophe,asmack etc...
refer to http://professionalxmpp.com/..great to start with..gives complete idea on hw to go abt...
Related
I need to share a text in Facebook from my J2ME app. Is there any Facebook API available for J2ME?
Hi there are some approaches in below link
http://j2megroup.blogspot.com/2011/06/facebook-api-me-10-tutorial.html
But we preferred to do it another way. We have written some services(helpers) which connects to Facebook over php sdk. And we have used our simplified services. But this might require to have an application in Facebook side.
There are no free libraries to do this. You can use Facebook APIs to do this.
I need an example for for facebook chat authentication for android apps like that python in the documentation
using xmpp/smack API
You can't use SMACK for android, check asmack to use with android.
I haven't experience with asmack, but I assume it should need the same hack as SMACK to autheticate with Facebook, please check this blog post.
I want to configure a simple webapplication to support an iphone app to connect with it in RESTFUL ways. Initially have a user login session enabled from the iphone to the web app. I'd like the iphone app to send a NSURL call to the webapp, with user and password and have the webapp respond if the suer exists or not. Pretty simple. And I want to do it with web2py. Is this possible? Any clues?
I think you should post it to web2py group on google groups.
web2py#googlegroups.com
I know this question is a bit old now, but Massimo recently posted a video demonstrating a new experimental RESTful API for web2py. See also the Google groups posting "video about new RESTful APIs" .
With Facebook now supporting XMPP, would it be possible to implement a simple chat bot, perhaps through an app (i.e. conversations not coming from an individual).
Probably late, but yes writing xmpp bot for facebook is now possible using any xmpp library. Jaxl library written in PHP is one option for you, it do also support X-FACEBOOK-PLATFORM authentication http://github.com/abhinavsingh/JAXL
Yes! You will need a Facebook account to authenticate as. I am not sure about s2s offhand but a c2s bot is possible.
I'm developing a site with something similar to the Digg bar at the top. One of the features requested is a live chat using Facebook. Is it even possible to implement Facebook Chat on my site by using Facebook Connect or other methods? And if so, how?
[update] I've seen that it works with Pidgin and Adium, but what I'm looking for is a site based implementation (think AJAX & HTML living at the top of the page).
It appears that the Facebook team has at least begun, if not finished, implementing an xmpp/jabber interface for Facebook Chat. This would allow you to use any XMPP enabled client to connect to Facebook. That said, there's at least one javascript jabber client library available that I can find. Although, you may have to implement a proxy on your web server to allow the JS client to talk to the Facebook server.
Also, I'm not sure how they're doing it, but Meebo has managed to enable Facebook chat integration on their site with Facebook Connect. I haven't found anything mentioning it, but this functionality may be easily available through the Facebook Connect API (documentation).
To answer your question: Yes, it's possible.