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.
CommentFileSizeAuthor
textmarks-receive.patch18.31 KBalonpeer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jemond’s picture

This looks really great. Thanks for submitting it!

I don't have any changes here.

alonpeer’s picture

Version: 6.x-3.x-dev » 6.x-2.x-dev
Assigned: Unassigned » alonpeer
Status: Needs review » Fixed

The patch has been expanded and ported into 6.x-2.x-dev, please test there.

jemond’s picture

Status: Fixed » Closed (fixed)

Nice work on this!