Get user Mobile Number using facebook javascript sdk - javascript

How to get the user mobile number using Facebook javascript SDK?

It's not possible to get the mobile number of Facebook users. There's no field in the Graph API for that.
See https://developers.facebook.com/docs/graph-api/reference/v2.0/user/#fields

Related

Firebase Auth Web - Google sign in - not presenting pick account dialog on android

Hi when im using firebase auth and with google sign in, im not getting this dialog as the picture.
When im going to google.com from the browser and click sign in so im getting this dialog.
is it possible to make firebase auth to present it as well?
i tried to use one tap, but it didnt work on android as well
example of code to implement
https://github.com/brunocrosier/google-one-tap/blob/master/pages/index.js
check index page to add
and check useGoogleOneTap.ts to see implementation

Google pay UPI integration in asp.net

I am working on an asp.net application where we want to implement the Google pay UPI payment method. It should work in the following way when the user clicks on the payment button the control redirects to the users' mobile app and shows the payment request from the Google pay mobile application.
Can anyone find me the related docs or links to do this?
You should be able to do this with UPI linking specification (page 5).
In your case, you would generate a upi:// link with the required parameters. Note that this will launch any UPI mobile app on the user's device. If you want to target the Google Pay app (for India), you should use gpay://upi/ as a prefix instead.
See also my previous answer.

convert HTML5 to mobile app and use pop out messages

is it possible to convert web (social)network made in HTML5 to mobile app? And then enable pop out messages for android and iOs?
If not, what would you suggest?
I'm trying to make some kind of social network and I'm having trobles deciding how to do it. I'd like to make an app and put it on app store or i-store. I know how to do it with html5 and java script, but I don't know how to convert it in to app and give it function of a pop up messages.
you can search for progressive web app(PWA) development which enables you to do this

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.

Categories

Resources