$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>sms - how can i integrate nexmo with my wordpress site?|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

sms - how can i integrate nexmo with my wordpress site?

matteradmin11PV0评论

I've been looking for something that will enable me send sms messages from my wordpress site to subscribers to my blog (it's not on wordpress. I got the files from wordpress and uploaded it to my own server). Finally I came across Nexmo. I've signed up but now I don't know where to begin from here. I've had a look at the documentation they provided at nexmo but I don't really understand what to do with it.

Could anyone help me with how i can successfully integrate nexmo with my wordpress site? If it helps I'm using the theme graphene on my site.

I've been looking for something that will enable me send sms messages from my wordpress site to subscribers to my blog (it's not on wordpress. I got the files from wordpress and uploaded it to my own server). Finally I came across Nexmo. I've signed up but now I don't know where to begin from here. I've had a look at the documentation they provided at nexmo but I don't really understand what to do with it.

Could anyone help me with how i can successfully integrate nexmo with my wordpress site? If it helps I'm using the theme graphene on my site.

Share Improve this question edited Mar 6, 2012 at 23:35 fuxia 107k39 gold badges255 silver badges461 bronze badges asked Feb 20, 2012 at 21:49 zcyborgzcyborg 2
  • I don't think this belongs here, but it's a bit unclear what you're after, which might affect where it gets migrated. As far as I can tell, Nexmo only provides an API and no pre-built tools, which would make this a straight programming(and not WordPress) question. Or is there a plugin that I'm not seeing? – Su' Commented Feb 20, 2012 at 21:57
  • umm...well i guess you have a point but i wasn't really sure where to put this. well what i want is that subscribers to my wordpress blog get an sms whenever it gets updated. I had to settle for nexmo coz it happened to support the telephone networks that are available in my country. I would've used a carrier url but i couldn't find the ones corresponding to the networks available in my country. Right now what I wanna do is to use nexmo to send sms to my subscribers. I'd like them to subscribe via my wordpress blog. – zcyborg Commented Feb 20, 2012 at 22:04
Add a comment  | 

1 Answer 1

Reset to default 3

In my knowledge, there is no available plugin that can do this. This requires custom programming. This can only be done using custom WordPress plugin.

First of all, you would need a subscription form of some kind to get subscriber's mobile number.

The plugin can then integrate with WordPress using one of WordPress hooks such as "save_post" and whenever a new post is published, send messages to all subscribed numbers by calling Nexmo REST API using any available library like "Nexmo-PHP-lib by Darren Whitlen".

https://github/prawnsalad/Nexmo-PHP-lib

http://codex.wordpress/Plugin_API/Action_Reference/save_post

Post a comment

comment list (0)

  1. No comments so far