I need example for facebook chat authentication for android apps - facebook

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.

Related

Invite Facebook friends to app on Windows Phone

is it possible to send an invitation (appRequest?) to a Facebook friend using Facebook C# SDK on Windows Phone 8/8.1? Best way for me would be using similar dialog as described here: https://developers.facebook.com/docs/games/requests/v2.2?locale=en_GB
I understand that the link does not describe Facebook C# SDK, but I am asking for a best way to imitate this functionality. I presume Facebook C# SDK uses Facebook app GUI for Login and maybe some more functions, so is there a way to use it even for sending an invitation?
Thanks for any help

API's to connect to facebook from windows phone?

I'm writing a windows phone app that should allows user to post status updates from within the application. Any link for the API's or help documentation that allows us to connect to facebook ?
Have a look at the Facebook C# SDK here
There is a sample you can look into about how to use the Facebook C# SDK here on GitHub in your Windows Phone App
Here is the starting point of using Facebook API
http://developers.facebook.com/
http://developers.facebook.com/docs/reference/apis/
Facebook_authentication_in_Windows_Phone_application

Facebook sharing in a J2ME application? Is there any facebook API for J2ME?

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.

Integrate facebook connect/ twitter with jquery mobile

I am currently developing the mobile version of my site.
Can you please give me a tutorial to integrate Facebook connect / Twitter so users can connect.
This can help you : http://www.pushittolive.com/post/1239874936/facebook-login-on-iphone-phonegap
This blog post http://www.wisejive.com/2010/11/phonegap-jquery-mobile-twitter-and.html contains the detail answer for both facebook connect and twitter. Of course, as the blogger mentions he is extending on the technique provided at http://www.pushittolive.com/post/1239874936/facebook-login-on-iphone-phonegap.
If you want to avoid phonegap, this solution is pretty neat - http://www.egrappler.com/jquery-social-media-share-plugin-jsshare/
Otherwise, the newer phonegap friendly solution uses their plugins directly, which can leverage some native apps and avoid the difficulties of OAuth - https://github.com/davejohnson/phonegap-plugin-facebook-connect & https://github.com/phonegap/phonegap-plugins/tree/master/iOS

how to make facebook chat?

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