Gmail is arguably the most acclaimed email service at the moment. Today more than 1.8 billion clients have its virtual mailboxes, largely due to the possibility of free use. Also, this service offers the widest range of features, from spell checking to marking conversation streams using tags, which makes it convenient for use by anyone. One …
PHP API Tutorials
How to Verify SMS with the TeleSign API
When you get a new registration on your site you want to make sure it's a real person. That's the reason Captchas were invented, as well as email confirmations. A recent addition to the authentication mix is the ability to send a text message with a code. This code then has to be typed into a verification form. This is more reliable than email …
How to Create a REST API using MongoDB
How to create a REST API using MongoDB In this article, we will create a MongoDB REST API. The data stored in the database will be proverbs. The sources will be from the book of that name as well as other well-known authors and thought leaders. The Proverbs API will pull a random proverb from the sources selected. There are six sources to …
How to Integrate External API in a WordPress Page
How to Integrate an External API in a WordPress Page In a previous post, we walked through an example of calling an external API from WordPress using a plugin. The plugin then populated a widget. This time we will create a custom page template that will show results from an API call. To change the WordPress theme we will create a child theme and …
How to Use Instagram API with PHP (and Node.js)
EDITED TO ADD: Due to the COVID-19 situation, the original EOL (End of Life) for the "basic" level access to the Instagram API has been delayed to June 2020. "We understand these are challenging times for our developer community, so we are postponing disabling the Instagram Legacy API Platform by 90 days to June 29, 2020. Remaining endpoints on …
How to Perform Sentiment Analysis on Twitter Feeds
How can we use a sentiment analysis API to analyze twitter feeds? Politicians, CEOs, and other famous people use Twitter to share whatever is on their minds. Many use Twitter as a soapbox to push their ideas. Others use it to start public conversations. In light of this, we will use a sentiment analysis API to determine sentiment scores of …
How to Call an API from WordPress (in a Plugin) [Example]
How to Integrate an External API in WordPress How do you call an API from WordPress? A great way to do that is by using a Plugin (or directly in a page). This can populate a widget that you can put anywhere in your theme. About 1 out of three websites on the internet today use WordPress, according to W3Techs. That means if you've ever …
“FPEG” for PHP using a Face Detection API
What is FPEG? FPEG detects faces in an image and compresses those regions less than the surrounding pixels. In theory the human visual cortex is more sensitive to compression artifacts on faces then surrounding context, therefore using higher compression in non-facial regions will lead to smaller images with comparable perceived quality. -- Andrew …
How to Build a RESTful API in PHP (with Laravel)
PHP has been the most popular web language in the present times by being simple to maintain, and quick to create feature-rich web applications. Websites that are dynamic, interactive, secure and efficient, need a powerful tool set to create and consume APIs. An efficient API is needed in our times in order to develop content that boosts …
How to Send SMS Messages with PHP (using Nexmo or Twilio)
Quick Links Jump to: How to Send SMS with Nexmo How to Send SMS with Twilio How to Integrate SMS API in PHP When someone mentions SMS services, people tend to imagine a system of quick-messages transmission for communication between people. But in the modern world, SMS services provide high functionality useful for various tasks. Let's …
How to Use an API with PHP (Complete Beginner’s Guide)
PHP gained fame as easy to learn and at the same time quite powerful programming language. Throughout its history, it went through several periods of ups and downs, but with the release of the seventh version, PHP confidently returns lost positions and firmly holds the title of one of the most popular languages for web development. An important …
How To Use the Twitter API with PHP [in 4 Easy Steps]
In this blog post, you'll learn how to use the Twitter API with PHP. 1. Get Twitter API Key Credentials Before we begin, you'll need to get access to Twitter API credentials. If you haven't already, you can learn how to do so here. To summarize, you will need to sign up for a free Twitter account (if you don't have one already) and create …