PHP fetion friends free SMS API interface open source version

  • 2020-03-31 20:55:37
  • OfStack

1, support group (if you need to send more than one number with English comma (,) separated (159..) , 159.. )
2. Support POST or GET to submit data
Site interface:
http://api.heqee.com/fetion/? Username = username= phone number &passowrd= password &to= recipient number &message= message content
or
http://api.heqee.com/fetion/? U = fetion phone number &p= fetion phone password &t= receiver number &m= message content

You can also download the source code on your own website
 
<?php 
 
include "libs/fetion.class.php"; 
# Set the fcy account password  
$username="15900000000"; 
$password="password"; 
//Receive Numbers, multiple Numbers separated by "," (159.. , 159..
$sendto ="15900000000,13400000000"; 
//The message content
$message = "I am from heqee.com"; 
//Instantiate (must)
$fetion = new fetion($username,$password); 
//Send back to Boolean
$sms = $fetion->send($sendto,$message); 
if($sms){ 
echo "ok"; 
} 
?> 

Open source download (link: #)

Related articles: