Easy way to SMS verify accounts

Status
Not open for further replies.

fatboy

Elite Member
Joined
Aug 13, 2008
Messages
1,615
Reaction score
3,262
Hey guys.

I was going to write this up properly but to be honest, the sun is out and the coffee is tasting good so I want to read the paper more than type ;)

Didn't see this in the forum anywhere, but apologies if I missed it.

I have been making Google, Facebook type accounts and have been verifying them using Tropo.com

Sign up as a developer and you can test your applications free - thrown into this you get access to a free pool of US numbers that can receive SMS messages (other countries available but Tropo do not guarantee their SMS use).

You can assign numbers, use them to verify and then unassign and grab a new number for the next one.

If you use a lot, they will assume that your application is in production and may charge you $3 per month per number - possibly still a good price depending on your use.

I have been running the developer plan for a while without problems and they do work.

Once you hit the 'send SMS' button in Gmail etc, you can either:

1. Watch the debug panel at Tropo and you will see the SMS message come in with your codes. There is a lot of other info in there so its not the easiest to read or;

2. Send all the info to a script on your web server so you can pull out the right info easily (their API is spot on). This will keep a record of the text messages coming your way. Method 1 will not store any old data.

The script I use to write a log file is:

Code:
<?php
	include("tropo.class.php");

	$session = new Session();
    	$from_info = $session->getFrom();
    	$network = $from_info['channel'];  
 
    	// Create a new instance of the Tropo object.
    	$tropo = new Tropo();
     
     	// See if any text was sent with session start.
    	$initial_text = $session->getInitialText();


	$fh = fopen('log', 'a') or die("can't open file");
	$stringData = $initial_text . "|" . $network . "\n";
	fwrite($fh, $stringData);
	fclose($fh);

?>

which just saves the text message content and the network (SMS or VOICE - tropo does both)

The above just pulls the message content out to make it easier to find your verification code.

Apologies about the way this is written, its an easy thing to do and Tropo seem a good company to use.

If you need any help, feel free to shout - saying that, I think most people will see the value in a service like this as well as how to put something together code-wise to try and automate it a little more :)

Have fun!

FB
 
Last edited:
Great man, never thought of services like this. Thank you for sharing it.

Just curious, for how many Gmail accounts can one number be used?
 
How long can you use this service for free?
How much numbers can you add to your account?
 
Awesome idea OP.

Since we are sharing, might as well give another.

If you have an iPhone there is an app called TextFree. Does the same thing as above: you choose a list of numbers, get the SMS, use the code, then change to a new number.

Does require and iPhone though, but the app is free for life.
 
Great one, I like how you're thinking, you really see hidden opportunities!
 
I heard about this before. Thank you for reminding me. It will be interesting to hear details about any experience with this service.
 
I tried to verifyf a fb account with this method but does not work because fb ask to send letter F in a sms to 32665 and then enter the code received... Since it is not possible to sens sms with tropo how can we do?
 
I'm trying to the same for facebook and have not been successful yet. If you guys find a method, please share, and thank you fatboy.
 
I tried to verifyf a fb account with this method but does not work because fb ask to send letter F in a sms to 32665 and then enter the code received... Since it is not possible to sens sms with tropo how can we do?

When I used it for Facebook they only asked for a number to send to - guess they have changed something.

However, you can indeed send text messages from Tropo and they are free whilst you develop.

Look here: https://www.tropo.com/docs/scripting/sending_text_messages.htm
 
When I used it for Facebook they only asked for a number to send to - guess they have changed something.

Incredible. Works like a charm. I think I've found myself a new sideline business. Creating gmail phone verified accounts & selling them in bulk. No filippinos required. :cool:
 
Incredible. Works like a charm. I think I've found myself a new sideline business. Creating gmail phone verified accounts & selling them in bulk. No filippinos required. :cool:


Well, when you become that big millionaire - remember me :D
 
How are you getting this to work with Facebook Verification? The SMS messages don't go through to the debug for me. I've tested several SMS messages and they go through but no luck with Facebook.
 
Will these numbers work for verifying anything else?

Thanks a million,

And Have A Blessed One..
 
Will these numbers work for verifying anything else?

Thanks a million,

And Have A Blessed One..

They can be used as normal SMS numbers so at a guess they should do. Only one way of finding out - give it a test :)
 
So, what when all the numbers will get used?

If you read their webpage they have a bloody huge pool of numbers so getting through them all would be a feat in itself.
 
I'm not sure if I got it correctly. I have a locally targeted entertainment site. will I be able to send regular sms to my registered users for marketing/sending updates/alerts using Tropo? It's not in the US or Canada buy the way.
 
Status
Not open for further replies.
Back
Top