TextMarks allows a web application to receive notifications when subscribed users send text messages with the user's keyword.
To enable this support, a user should log into his TextMarks account, then edit a keyword and then go to Settings -> API.
The attached patch implements this support in the module in the following way:
- The URL http://yourdrupalwebsite.com/textmarks is used as the callback URL.
- Support for a private token and its validation.
- Support for any module to implement hook_textmarks() and perform any tasks needed with the information received from TextMarks, as well as returning a text that will be used as the reply to TextMarks.
| Comment | File | Size | Author |
|---|---|---|---|
| textmarks-receive.patch | 18.31 KB | alonpeer |
Comments
Comment #1
jemond commentedThis looks really great. Thanks for submitting it!
I don't have any changes here.
Comment #2
alonpeer commentedThe patch has been expanded and ported into 6.x-2.x-dev, please test there.
Comment #3
jemond commentedNice work on this!