This is Globe API Client by BEAR.Sunday.
- Create account on Globe Labs.
- Create new app at http://developer.globelabs.com.ph/apps/new
- Set Redirect URL as
https://example.com/oauth
- Send from phone number that will be subscribed
INFO
to SHORT CODE of the app. - Upon receipt of the welcome message, the subscriber needs to reply
YES
- After the subscriber replies (
Yes
), theACCESS_TOKEN
and the subscriber’s mobile number will be posted to your Redirect URI
See also: http://www.globelabs.com.ph/docs
$ php bootstrap/api.php post "/smsmessaging?subscriber={subscribed_phone_number}&address={phone_number_of_destination}&message={message}"
$ php -S 0.0.0.0:8080 bootstrap/api.php
$ curl -X POST http://localhost:8080/smsmessaging?subscriber={subscribed_phone_number} -d address={phone_number_of_destination} -d message={message}