Send Bulk SMS Instantly and Save Money

sms apiShort messaging system (SMS) has been one of the most widely used features by mobile phone users worldwide. Short text messages are cheap, fast and you can send and receive it while doing many other things at the same time. But other than for sending personal messages, short messaging system can also be used for sending bulk SMSs for marketing purposes. You could invite people in your contacts to come to a party, tell customers in your database about new special offers or limited time discounts, or notify your team members about a designated web conferencing time. Yes, because some bulk messaging services like Nibbme cover more than 200 countries, distance is no longer a problem. All you need to do is sign up for a free Nibbme account, purchase SMS credits (you could also read their price list in the website), manage your SMS recipients and send SMS instantly.

Nibbme users have the advantage of sending SMS easily with Nibbme’s simple sms api system. Developers who would like to implement bulk SMS features into their projects could benefit from Nibbme’s Service API. By using api code, users will be able to interact with developers’ sites using their mobile phones. Nibbme also provides proxy library for remote communication with the Nibbme web service in their RubyGem package. Installation is quite easy. You can find instructions and code samples in http://github.com/xpepermint/nibbme.

If you wish to install RubyGem, below is recommended method:

gem install nibbme

Add the line below to {RAILS_ROOT}/config/environment.rb:

config.gem ‘nibbme’

Because Rails can’t load rake tasks from gems, you should open {RAILS_ROOT}/Rakefile and add this:

begin
require ‘nibbme/tasks’
rescue LoadError
STDERR.puts “Run `rake gems:install` to install nibbme”
end

Open the console, go to your project’s root and install:

$ rake nibbme:install

The task will create a format file inside your {RAILS_ROOT}/config directory. Open the file and set variables. It will look like this:

# Nibbme configuration file
default: &defaults
site: ‘https://www.nibbme.com’
email: me@nibbme.com
password: mypassword
development:
<<: *defaults
test:
<<: *defaults
production:
<<: *defaults

Here is an example of a Simple SMS Gateway controller code for single SMS delivery:

message = Nibbme::Message.create(:text => ‘This is my SMS message.’, :country_code => 44, :cell_phone => 99999999)
message = Nibbme::Message.create(:text => ‘This is my SMS message.’, :country_code => 44, :cell_phone => 99999999, :full_name => ‘John Rony’)

Meanwhile for groups, you can request data by calling a find method using codes below:

groups = Nibbme::Group.find(:all)
groups = Nibbme::Group.find(:first)
groups = Nibbme::Group.find(:last)
group = Nibbme::Group.find(15) # Where 15 is a Group ID number

If you wish to get an API token, you can sign up for a free plan in GitHub. Go to account setting. On the administrative information, you will be able to find your API Token code. In this case, my API code is 1ba874328b3236828704e0dXXXXXXXXX. Regardless of your operating system or coding platform, you will find that Nibbme, a restful web service could easily be incorporated into your current website or desktop application.

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)