Using Google+ Login Javascript on a phonegap app - javascript

I am new to the world of Social media login and to Phonegap. What I would like to do is allow for users to "Sign In" with Google+ and eventually Facebook on my phonegap app. With phonegap we use javascript for the "Smarts" behind an application. There is an option with Google+ Auth to build the Auth with javascript. Well that's great!
The problem that I am running into is that Google+ API is asking what HTTP referers can use this API. Well, there will be many different instances of the application because it will be located on peoples mobile devices.
Could I say something like "http://localhost"? Any help would be great! Thank you in advance.

Related

Can I use Apple CloudKit JS in a Cordova app on non-iOS devices?

Now that Apple has made CloudKit JS available, would I be able to use it in a Cordova / Ionic app?
Specifically, (how) would the (iCloud) user authentication work on non-iOS devices? (I assume all users would have to have an iCloud account.)
Users will be able to sign in with their Apple ID and if they don't have one they can register right in the popup authentication screen that Apple is providing for CloudKit on the Web -- New users without any IOS devices get an initial 1G of free personal storage.
Since it's only JS, I don't see anything that would impeach you from using it within Cordova. It's made to be implemented in web-apps, and almost anything that a web-app can do, Cordova can do it too.

Facebook login for Windows app using Javascript and html5

I am developing a windows 8.1 app using javascript and html5. I want to integrate facebook login.When I searched I found the following documentations
1.https://developers.facebook.com/docs/facebook-login/login-for-windows-phone
2.https://developers.facebook.com/docs/facebook-login/login-flow-for-web/v2.3
which one should I use.
I suggest you go through the first link since it mentions how to integrate facebook SDK in windows phone. The other link mentions about Facebook integration through javascript in web.
I tried the first one, I used js function in wp8
Windows.System.Launcher.launchUriAsync("fbconnect://authorize?cliend_id=My_appId&scope=basic_info&redirect_uri=msft-my_prod_id://authorize").then(function (success){
})
It works for me, If I'm already logged with facebook app, it return true, else it show me Facebook Login Page. But I don't obtain Facebook userId, i'm able only to intercept boolean value for success or not. Did you get a solution for login and obtain Facebook userId?
I found the Winjs sdk for Facebook
https://github.com/Thuzi/facebook-winjs-sdk
it works for me.
For windows phone you need to use
Windows.Security.Authentication.Web.WebAuthenticationBroker.authenticateAndContinue instead of Windows.Security.Authentication.Web.WebAuthenticationBroker.authenticateAsync during the login

Can i create android apps using javascript with facebook sdk?

Can i create smth like this with JavaScript? Thank you very much for help
Create an Android application that allows to: 1. login to user's Facebook account and retrieve friends list. The list should be then displayed as given friend's profile image + username.
Cordova would assist you in developing mobile applications for various platforms using javascript, html css. Here is their site url http://cordova.apache.org/
For facebook related stuff, You can use facebook's graph api.

Twitter authentication for Sencha Touch mobile applications/javascript

I seek community's advice on twitter authentication and getting list of followers for Sencha Touch apps or javascript in general. I'm creating a mobile app for Android and iOS with Sencha Touch. I need to integrate twitter in the app and use it's login mechanism to authenticate the user and fetch logged-in user's followers from twitter side. I've gone through few examples which are using old technique which is depreciated now and twitter doesn't support authentication through javascript for some security issues.
Could someone please suggest any solution for twitter authentication through Sencha Touch app or javascript? Any help will be appreciated.
Thanks for having a look.

Facebook connect with sencha

I'm building a website and a simple app for android and iOS with sencha and I want it to connect to facebook and post something.
I've read the information and tried to implement Facebook Javascript SDK.
It works on the website, when I tap a button the facebook login poped out, asking me to login and authorize the facebook app I created. after I authorize it and got an access token, I can post something to timeline from the web.
However, when I tried to pack it into .apk and install it on my android device it didn't work.
Is it possible to use Facebook Javascript SDK with sencha touch after I pack it to .apk ? or should I be use another method ?
I'm hoping that anybody could help me with that, and an example would be nice.
Thanks in advance.
Write a handler in sencha to call your site's oAuth service for authentication...
Use this authentication for your mobile app... I dont think the issue was due to .apk did you try the same thing in a mobile browser and see if it worked???
The Watch List lets you share which movies you have seen and want to see with your friends on Facebook.
https://github.com/senchalearn/Watchlist

Categories

Resources