Help spread the word about ediarosms.com: Let others know about ediarosms.com by sharing and tweeting about us. We appreciate every mention!

SMS Widget / Webview

Just as you can access the widget URL (or web view) directly at https://ediarosms.com/sms/widget , you can as well embed it in your applications or simple HTML webpages.

E.G. Loading the widget into an iframe is demonstrated below:

<iframe src='//ediarosms.com/sms/widget' style='width:100%;height:560px;border:1px solid #bbb;border-radius:3px;'></iframe>

Example of SMS widget, loaded into an iframe


TIPS: Sub-accounts can easily be created for free here.

Auto-login URL

Supposing that you are importing the widget into a page on your admin panel, the sample php code describes how to generate a url that could be used; in order to be automatically logged in.
<?php
 $sub_account='001_mysub1';
 $sub_account_pass='pa55w0Rd';

 $token=base64_encode($sub_account.':'.$sub_account_pass);

 $url="http://ediarosms.com/sms/widget/?token=$token";
?>
So for instance, to load the above authenticated url via iframe could be like:
<iframe src='<?php echo $url; ?>' style='width:100%;height:560px;border:1px solid #bbb;border-radius:3px;'></iframe>