Setup Notifikasi SMS & Panggilan Telepon Menggunakan Twilio di Ruby on Rails
Twilio adalah platform layanan komunikasi yang berbasis di San Francisco, California. Twilio memungkinkan pengembang perangkat lunak untuk secara terprogram membuat dan menerima panggilan telepon, mengirim dan menerima pesan teks, dan melakukan fungsi komunikasi lainnya menggunakan API layanan webnya.
Berikut langkah – langkah untuk mensetup notifikasi SMS & panggilan telepon menggunakan Twilio di Ruby on Rails :
Cara Install
gem ‘twilio-ruby’, ‘~> 5.14.0’
Untuk install secara manual via Rubygems
gem install twilio-ruby -v 5.14.0
Setup Token dan SID
Buat akun di www.twilio.com dan setelah selesai masuk bagian Dashboard, lalu copy ACCOUNT SID dan AUTH TOKEN.
Masukkan Token & SID yang tadi ke dalam method / baris kode ruby anda.
require ‘twilio-ruby’
# simpan TOKEN/SID kamu disiniaccount_sid = ‘Copy ACCOUNT SID anda disini’auth_token = ‘Copy AUTH TOKEN anda disini’
# untuk setup Twilio REST API@client = Twilio::REST::Client.new(account_sid, auth_token)
Setelah Anda setup ACCOUNT SID dan AUTH TOKEN, Anda harus memiliki nomor telepon yang digunakan untuk melakukan API call / sms. Cara mendapatkan nomor telepon tersebut, anda dapat kembali ke halaman Twilio dan akses Phone Numbers dan klik button ‘Get your first twilio number’
Penggunaan API Untuk Telepon
Penggunaan API Untuk SMS / Pesan Text
PakarPBN
A Private Blog Network (PBN) is a collection of websites that are controlled by a single individual or organization and used primarily to build backlinks to a “money site” in order to influence its ranking in search engines such as Google. The core idea behind a PBN is based on the importance of backlinks in Google’s ranking algorithm. Since Google views backlinks as signals of authority and trust, some website owners attempt to artificially create these signals through a controlled network of sites.
In a typical PBN setup, the owner acquires expired or aged domains that already have existing authority, backlinks, and history. These domains are rebuilt with new content and hosted separately, often using different IP addresses, hosting providers, themes, and ownership details to make them appear unrelated. Within the content published on these sites, links are strategically placed that point to the main website the owner wants to rank higher. By doing this, the owner attempts to pass link equity (also known as “link juice”) from the PBN sites to the target website.
The purpose of a PBN is to give the impression that the target website is naturally earning links from multiple independent sources. If done effectively, this can temporarily improve keyword rankings, increase organic visibility, and drive more traffic from search results.