-
Notifications
You must be signed in to change notification settings - Fork 3
/
send-sms.html
24 lines (22 loc) · 1013 Bytes
/
send-sms.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<html>
<head>
<style>
body {
font-size: 36px;
}
</style>
<script type="text/javascript">
(function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener applyCode banner closeBanner creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode".split(" "), 0);
branch.init('key_live_cap6mk1SR0KpqRxGJB7pefbbFEbUjxp4', function(err, data) {
console.log('init', data);
});
var phone = "6692648210";
branch.sendSMS(phone, {}, {make_new_link: false}, function () {
console.log("sent sms to", phone);
});
</script>
</head>
<body>
<p> send sms page </p>
</body>
</html>