I'm trying to build a login system with a phone authentication system.
Does anyone of you have experience with this? I'm using fire base as a backend, and twilio for sending sms. So i need to send sms with a pin. i'm developing this app using (ionic + firebase + twilio)
Thanks
Twilio developer evangelist here.
In order to send SMS messages using Twilio you're going to need your own server so that you can make the API requests to the Twilio API. I checked through Firebase and there is nowhere for you to run your own code on there, which is a shame, though it does supply static site hosting these days, which is nice.
I recommend you take a look through the Twilio tutorials which will give you a good idea how to build an application that can perform the API requests for you. I might start by checking out:
SMS notifications in Node.js
Phone authentication using Authy in Node.js
(Authy is the best way of verifying and authenticating phone numbers and is part of Twilio now.)
Let me know if this helps at all.
Related
I'm trying to create an app with React Native to sending some USSD codes and Manage SMSs.
actually, I need to do two operations in my app:
USSD
SMS
I Googled it but there are not many resources about this topic, so If someone knows how to do it, I'll appreciate a lot your help, Thanks!
Firebase has a PhoneAuth module, which will send a verification code to the device via SMS.
You can find more info here : https://github.com/invertase/react-native-firebase-docs/blob/master/docs/auth/phone-auth.md
Also keep in mind that you have to add the Native Firebase module for React Native and not the web based one as it does not support Phone authentication.
This can be done using react-native-ussd library, for dialing and receiving USSD responses.
But currently only Android is supported.
I have an AngularJS app with no server code. I created a form in which I'd like to be able to type a message and send as a push notification to all Firebase users using our mobile app. I've looked at Firebase Cloud Messaging and services such as OneSignal, however, both strongly advise against sending push notifications via client for security reasons.
Has anyone been able do something like this? Any suggestions are appreciated. I'm not attached to any method besides the ones that work well and securely.
Thank you.
I'm trying to build a site that updates users' Google Talk statuses from Google App Engine using the built in XMPP Python API (or a third-party one, if one works better than another). I've been looking around for some examples or docs explaining how I would go about doing this, but nothing I find seems to offer a fully functional solution.
App Engine's XMPP Python developer docs suggest that updating a status can be done through the send_presence() method (see here):
xmpp.send_presence(to_jid, status="My app's status")
But, how would this be authenticated? Wouldn't I have to send the users password with the request? (Ideally, I'd like to do so using OAuth as suggested here.) Am I misunderstanding something?
Please excuse me if I'm missing something obvious, here. I'm pretty new to both Google App Engine and XMPP. Unlike a lot of examples I've found online, I don't want to create a chat "robot"; I merely want to change an existing user's Google Talk status. Thanks in advance for any pointers!
You can't change someone else' status using the XMPP API.
You can use the XMPP API to represent yourself, or your users (see the description of XMPP addresses in the GAE XMPP API docs).
You cannot send messages or update the status of a gmail user.
Is there a cross-platform mobile app dev environment that allow us to access the SMS inbox of the phone?
I would like to create messenger apps on different platforms(Android and Symbian at least) that plays around with SMS. I learnt that Phonegap and Mosync is currently not providing such API, and I am still finding it. Any suggestions?
MoSync allows you to send SMS, but like you say, it wont let you receive them.
I guess the reason is, most app only need to send sms, because incoming messages
can be picked up from a server. Also many apps use sms to generate spread/users,
once your app is connected to a IP service of some kind you just talk to the server.
There is of course the cost question, send sms costs app users money, receiving sms
can cost the service provider money.
How do I perform this?
I'm making a funny little notepad application where you should be able to send your notes to your Facebook account, as a status.
My question more directly is: Where do I find code so I login to "Facebook-write status page"?
And how do I implement it in this silverlight application? Can I use html/Javascript for this maybe?
There is a project at http://facebooksdk.codeplex.com/ which lots of people have used to integrate Facebook functionality into their Windows Phone 7 apps.
You don't need to use javascript or html for this.
Facebook has an API that you can use by sending web requests from your application to facebooks servers. The process is not straight forward, so you should check out the documentation here: https://developers.facebook.com/search?q=API
There is an open source C# based API available here: https://developers.facebook.com/blog/post/395 It may be easier to use than doing web requests yourself.