Push notifications

I need to be able to push notification to users phone. I am trying to use ColdFusion to do that. However, I have issues. I found the site that supposed to explains how to do that with coldfusion .http://www.rickgroenewegen.nl/?p=77

However there is still some problems . If I doing thing on the fly I do not know what their phone type is (apple or android).
LVL 19
erikTsomikSystem Architect, CF programmer Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try twilio
Inexpensive and very easy...

	<cfset this.smsFrom = "aaaaaaaaaaa" />  <!---- your account values go here ---->
	<cfset this.username = "xxxxxxxxxxxxxx">
	<cfset this.password = "yyyyyyyyyyyyyyyyy">

   <!---- returns the URL (defaults to current URL) by swapping the paramters abc=1, will replace abc=2 in the URL or if blank, it will remove it ---->
   <cffunction name="sendText" access="public" returntype="string" output="false">
       <cfargument name="toPhone"     type="string" required="false" default="">
       <cfargument name="textMessage" type="string" required="false" default="">

        <cfset var theResult = "">
        <cfset var theStatus = "">
		<h1>SMS Text Message via Twilio</h1>
		<cfhttp	method="post" url="https://api.twilio.com/2010-04-01/Accounts/#this.username#/Messages.json"
		   <cfhttpparam type="formfield" name="From" value="#this.smsFrom#">
		   <cfhttpparam type="formfield" name="To"	 value="#arguments.toPhone#">
		   <cfhttpparam type="formfield" name="Body" value="#arguments.textMessage#">

       <cfreturn theStatus>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
erikTsomikSystem Architect, CF programmer Author Commented:
will it send like SMS or push notification?
sorry, this will simply send a text to the user's phone number
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

erikTsomikSystem Architect, CF programmer Author Commented:
Well I can do that for free by using cfmail tag and the phone number
Hmmm, sorry, I assumed that's what you mean by "notification"

Don't you need to have an app installed to be able to send other notifications?
erikTsomikSystem Architect, CF programmer Author Commented:
I have created the apple developer account to create a license and android account
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.