Integrate twitter and facebook with phonegap using only javascript - facebook

Is there possibility to integrate twitter and facebook with phonegap using only javascript? The reason behind to use javascript is application can run on different platforms i-e it can run on ios,blackberry,symbian,android and webos.
need an idea ....
thanks in advance

I think you need to use this social sharing cordova plugin.
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

Related

facebook integration in ionic 2 platform

I am newbie in developing the hybrid app (ionic 2). I was looking for some sort of help in integrating facebook login in my ionic2 app .But couldn't find any relevant help.
Any sort of help will be useful.
Thanks
You can follow this tutorial in order to implement facebook login in ionic 2. It doesn't really matter which platform you are going to use for backend.
https://ionicthemes.com/tutorials/about/ionic2-facebook-login

What is the best solution for facebook login in cordova / web / hybrid apps?

I would like to have a facebook authorization and facebook shares in my cordova app. So I need a plugin / solution for this case.
I found cordova-plugin-facebook4 but it didn't have updates for a long time and doesn't work properly with last Cordova/Facebook SDK.
I also have tried to use OpenFB but it has two main problems: it also has some troubles and works via JS SDK which mean my app asks a user for a password while login even if there is a facebook app on the smartphone.
I use poor JS and Jquery (not ionic, not Angular, etc).
I want to use it for Android and iOS both.
I want to have a native login window (not the web based).
Could you recommend something for me and community?
Have you tried this one? Looks like the best:
https://github.com/Wizcorp/phonegap-facebook-plugin
Also for sharing, I use this, and works like a charm:
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

Meteor + Phonegap

I'm beginning to develop a Meteor App using Phonegap, however I've come to a stumbling block on GeoLocation and Facebook Oauth. How do I extract native GeoLocation information from PhoneGap and transfer that to Meteor, and how do I create a native Facebook Login from the app as well?
I have made it working,
you just need the www folder of cordova bundle app,
and then create a hello world cordova app and replace your www folder in it.
Add plugins you need manually,
Here is my app
https://play.google.com/store/apps/details?id=com.youiest.tapmatrix
https://itunes.apple.com/us/app/tapmate/id774935608?mt=8
but yes, I did not succeeded in create facebook native login with the meteor official way.
I have been able to make facebook native login work.
You just need to add official cordova plugin for facebook and configure it in mobile-config.js
In case of trouble, please follow tutorial here

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