guaka / hitchticker

Simple ticker for hitchhikers
http://hitchticker.info/
MIT License
5 stars 2 forks source link

Link messages to users by phone number #11

Open chmac opened 9 years ago

chmac commented 9 years ago

When a user sends a message by SMS, link it to their account.

I added my number as +49 1573 245 1224 and sent a text (to the secret number ;-) ) but it didn't recognise that the message was from me. Spaces maybe?

guaka commented 9 years ago

still have to work on this part :)

On Sat, Apr 4, 2015 at 9:13 PM, Callum Macdonald notifications@github.com wrote:

I added my number as +49 1573 245 1224 and sent a text (to the secret number ;-) ) but it didn't recognise that the message was from me. Spaces maybe?

— Reply to this email directly or view it on GitHub https://github.com/guaka/hitchticker/issues/11.

chmac commented 9 years ago

Tried to implement in my browser, but doesn't seem to be that simple, need to know where the mobile number is stored. Probably need to parse the mobile number on save to strip all whitespaces, replace leading 00 with a +, and so on. Guess there's a library for that...

simison commented 9 years ago

Easier way: https://github.com/guaka/hitchticker/issues/9

guaka commented 9 years ago

idea now is to let a user first text a code to us, then we'll simply have their phone number that nexmo is giving us (and will hopefully remain unique)

On Sat, Apr 4, 2015 at 9:17 PM, Callum Macdonald notifications@github.com wrote:

Tried to implement in my browser, but doesn't seem to be that simple, need to know where the mobile number is stored. Probably need to parse the mobile number on save to strip all whitespaces, replace leading 00 with a +, and so on. Guess there's a library for that...

— Reply to this email directly or view it on GitHub https://github.com/guaka/hitchticker/issues/11#issuecomment-89643063.