
Welcome! I know it's been a while since I added to our Twitter API series. I've been kind of busy. First, there was the brain tumor, then the robotic radiosurgery, then the ongoing Yii Programming Series and its related startup series and finally, the launch of Meeting Planner.
I decided to write today's tutorial using the Twitter API for creating friends (what Twitter calls the people you follow).
Why? Well, the bizarre U.S. presidential election of 2016 has highlighted some of the abuse and harassment that goes on every day on Twitter, something the company has done little to filter—and as programmers, we know that's not that difficult. It's simply feared losing its audience of hateful deplorables who drive a significant share of advertising revenue.
Many women have left the service because of its ongoing harassment—for which Twitter sometimes apologizes, saying that it's trying to allow for free expression. Frankly, there is no freedom of expression when abusive harassment is indefinitely present.
There have also been articles highlighting how many people's followers are predominantly male. While Twitter does not ask users their gender, it does statistically analyze the gender of accounts for its advertisers.
And you can peek at Twitter advertising's own demographic estimates in its analytics pages. As you can see below, Twitter estimates that 69 percent of my followers are male.

Lost in the din is that woman's voices can be more difficult to find on Twitter. But they are out there. Pew reports that 21% of female Internet users use Twitter, while 25% of male Internet users do.

So today I'll guide you through using the Yii2 Framework for PHP to access the Twitter API and automate adding friends to people's Twitter accounts. (If you'd like to learn more about Yii2, check out our parallel series Programming With Yii2.)
And, I've created a website, Twixxr.com, which will let you demonstrate the feature by adding prominent women on Twitter for your account to follow.
If you have any questions or feedback, please post them below in the comments or reach out to me on Twitter @reifman.
While I've written a handful of Twitter API tutorials in the past, they've all been based on Yii 1.x code. Yii2 has been out for a long time, and while I've written about OAuth sign-in, I haven't written about aspects of the API for your own account and/or on behalf of authenticated accounts for the upgraded framework. And it wasn't easy—there aren't great Yii2 plugins for Twitter yet.
Here are some of my past tutorials for you to review:





Not only will today's tutorial guide you through using OAuth to authenticating site visitors' accounts, but it will also show you how to add friends to their account using the access they grant you.
Unfortunately, I wasn't able to find a robust working Twitter API extension for Yii2, so I leveraged the generic Twitter OAuth PHP Library to create my own Twitter model.
A lot of complex APIs don't provide good documentation, and I appreciated the step-by-step live walkthrough that TwitterOAuth provides. It's incredibly helpful:

The Twixxr service will authenticate site visitors and then automatically add new friends to their accounts. The friends will be chosen from over 600 influential women that I identified on Twitter:

Let's begin walking through the code.
My TwitterController.php has two basic methods, Request and Return. Here's the Request method:
public function actionRequest()
{
if (Yii::$app->user->isGuest) {
// user has not logged in to yii site
$t = new Twitter();
$url = $t->getAuthorizeUrl();
$this->redirect($url);
} else {
// already verified with us, look up their access keys
$t = new Twitter();
$t->refreshConnection(Yii::$app->user->getId());
$this->goHome();
}
}The Twitter.php model invoked in new Twitter(); gets a unique getAuthorizeURL() for you to redirect a site visitor to the Twitter authentication page, e.g. https://api.twitter.com/oauth/authorize?oauth_token=q-7ChxxxxxxxxnpXAAABzzzzzzz6E:

Once the user authorizes your application at Twitter, they are redirected back to our Return method:
public function actionReturn()
{
// returning from authentication
/* If the oauth_token is old redirect to the connect page. */
if (isset($_REQUEST['oauth_token']) && Yii::$app->session['oauth_token'] !== $_REQUEST['oauth_token']) {
Yii::$app->session['oauth_status'] = 'oldtoken';
return $this->goHome();
}
$t = new Twitter();
$user_id = $t->getConnection($_REQUEST['oauth_verifier']);
$person = new \common\models\User;
$identity = $person->findIdentity($user_id);
$u = User::findOne($user_id);
if ($identity->validateAuthKey($u->auth_key)) {
Yii::$app->user->login($identity);
}
$this->redirect(['twixxr/amplify']);
}The Twitter model uses your application consumer key and consumer secret, which you receive when registering it with the service:
<?php
namespace frontend\models;
use Yii;
use yii\base\Model;
use common\models\User;
use frontend\models\Auth;
use Abraham\TwitterOAuth\TwitterOAuth;
/**
* This is the model class for table "payment".
*
* @property integer $id
* @property integer $user_id
* @property string $amount
* @property integer $created_at
* @property integer $updated_at
*
* @property User $user
*/
class Twitter extends Model {
public $consumerKey;
public $consumerSecret;
public $connection;
public function init() {
$this->consumerKey = Yii::$app->components['authClientCollection']['clients']['twitter']['consumerKey'];
$this->consumerSecret = Yii::$app->components['authClientCollection']['clients']['twitter']['consumerSecret'];
}
The Return method shown above then registers a user and stores their long-term access keys for the account—this allows you to make API calls on their behalf indefinitely:
public function getConnection($oauth_verifier='') {
$connection = new TwitterOAuth($this->consumerKey, $this->consumerSecret,Yii::$app->session['oauth_token'],Yii::$app->session['oauth_token_secret']);
/* Create TwitteroAuth object with app key/secret and token key/secret from default phase */
$access_token = $connection->oauth("oauth/access_token", ["oauth_verifier" => $oauth_verifier]);
/* Save the access tokens. Normally these would be saved in a database for future use. */
$user_id=$this->register($access_token);
//Yii::$app->session['access_token'] = $access_token;
/* Remove no longer needed request tokens */
unset(Yii::$app->session['oauth_token']);
unset(Yii::$app->session['oauth_token_secret']);
$this->connection = new TwitterOAuth($this->consumerKey, $this->consumerSecret, $access_token['oauth_token'], $access_token['oauth_token_secret']);
return $user_id;
}
public function register($access_token) {
$screen_name = $access_token['screen_name'];
$source_id = $access_token['user_id'];
$user = User::find()->where(['username'=>$screen_name])->one();
if (is_null($user)) {
// sign them up
$user = new User();
$user->username = $screen_name;
$user->email = $screen_name.'@twixxr.com';
$user->setPassword(Yii::$app->security->generateRandomString(12));
$user->generateAuthKey();
$user->save();
}
$auth = Auth::find()->where(['source_id'=>$source_id])->one();
if (is_null($auth)) {
// add an auth entry
$auth = new Auth();
$auth->user_id = $user->id;
$auth->source = 'twitter';
$auth->source_id = $source_id;
$auth->screen_name = $user->username;
$auth->oauth_token = $access_token['oauth_token'];
$auth->oauth_token_secret = $access_token['oauth_token_secret'];
$auth->x_auth_expires =0;
$auth->save();
} else {
$auth->oauth_token = $access_token['oauth_token'];
$auth->oauth_token_secret = $access_token['oauth_token_secret'];
$auth->update();
}
return $user->id;
}For read write access to their accounts, I'm extending the Auth table from the simple authentication access described in our Startup series' Simplifying Onramp With OAuth to include these extra verification keys.
I also encourage you to walk through the live step by step at TwitterOAuth. It's an excellent example showing everything in action with your own Twitter account.
Next, I created a Twixxr.php model which would provide a variety of important functions specific to the service. Firstly, I created Twixxr::loadProfiles() to synchronize names, bios, and Twitter-related counts, e.g. profile photos, status posts, followers, followings, of each woman identified in my static database of Items.
public function loadProfiles() {
// clean Item table
$this->cleanup();
$t = new Twitter();
$t->refreshConnection(1); // for admin user = 1
$time_stale = time()-(24*3600);
$people = Item::find()
->where('updated_at<'.$time_stale)
->orWhere('updated_at=created_at')
->orderBy('rand()')->all();
$cnt=0;
foreach ($people as $i) {
// to do - or if updated at is stale
if ($i->detail=='') {
$result = $t->getUsersShow($i->path);
echo $i->path.', ';
if (isset($result->errors)) {
var_dump($result);
continue;
}
if (isset($result->name)) {
$i->title = Html::encode($this->removeEmoji($result->name));
if ($i->title=='') {
$i->title='n/a';
}
}
if (isset($result->screen_name)) {
$i->path = $result->screen_name;
}
if (isset($result->description)) {
$i->detail=Html::encode($this->removeEmoji($result->description));
}
if (isset($result->profile_image_url_https)) {
$i->image_url = $result->profile_image_url_https;
}
$i->validate();
var_dump($i->getErrors());
$i->update();
SocialProfile::fill($i->id,$result);
$cnt+=1;
if ($cnt>25) exit;
}
}
}This is called by a console cron job which I will describe later in the Yii2 series. So these profiles are synchronized gradually and repeatedly at specific intervals over several days.
I won't detail it here, but basically I created a Log table of individual requests for every user and female account. In other words, Samuel would have 500 entries requesting an add friendship for each woman in the database.
First, though, I would make sure Samuel (and every user of Twixxr) follows the Twixxr_com account.
$result = $t->createFriend('twixxr_com');
$total_request+=1;
if ($result !== false) {
$action->status = Log::STATUS_COMPLETE;
$action->save();
}Before the cron job processes these commands, it refreshes the Twitter authorization and connection for Samuel and each individual user at the appropriate stage:
$t->refreshConnection($action->user_id);
Then, here's the Twitter::createFriend($screen_name) method:
public function createFriend($username) {
$add = $this->connection
->post("friendships/create", ["screen_name" => $username]);
if ($this->connection->getLastHttpCode() == 200) {
// successful
return $add;
} else {
// Handle error case
return false;
}
}Then, it does this for all the women requested by Samuel as detailed in the Log table—and of course, there's a lot happening below, which I'll describe:
echo 'add '.$person->path.' to '.$action->user_id.'<br />';
if ($x>7) {
$mode ='limited';
echo 'Limited to max requests per user<br />';
// skip this user and go to next one...
continue; // on to next user
}
$followed_by = $t->getFriendshipsShow($u->username,$person->path);
if ($followed_by == -10) {
echo 'rate limit error<br />';
$mode ='limited';
// skip this user and go to next one...
continue; // on to next user
} else if ($followed_by==0) {
$x+=1;
echo 'request follow<br />';
$result = $t->createFriend($person->path);
$total_request+=1;
if ($result !== false) {
$action->status = Log::STATUS_COMPLETE;
$action->completion_at = time();
$action->save();
} else {
echo 'skip due to error';
$action->status = Log::STATUS_SKIP_ERROR;
$action->completion_at = time();
$action->save();
}
} else {
echo 'already followed<br /><br />';
$action->status = Log::STATUS_SKIPPED;
$action->save();
}
}Twitter's API has strict rate limiting, and it makes using their API kind of difficult at times. The cron job above creates friendships for seven target accounts at a time before switching to another user's request until it's called again later.
Here's Twitter::getFriendshipsShow(), which checks to see if this account is already following the desired account. In the above code, it skips requests that are redundant, to spare the rate limit.
public function getFriendshipsShow($source_name,$target_name) {
$result = $this->connection->get("friendships/show", ["source_screen_name" => $source_name,"target_screen_name" => $target_name]);
if (isset($result->errors)) {
if ($result->errors[0]->message=='Rate limit exceeded') {
return -10;
}
} else {
if (isset($result->relationship->target->followed_by)) {
if ($result->relationship->target->followed_by) {
return 1;
} else {
return 0;
}
}
}
return -1;
}In the near future, I'll implement Twitter's bulk API for this, making just one call instead of hundreds per user using get/friendships/lookup. Note that you will need a developer account to access this page.
You can also undo these friendships via the API:
$statuses = $connection->post("friendships/destroy", ["screen_name" => $u]);I'm logging every connection Twixxr makes, and if Twitter's API rate limits were less onerous and time-consuming, I'd allow visitors to have an undo feature for Twixxr, to unfollow all the women if they don't like all the new accounts.
I did a lot in Twixxr to manage performance. Basically, I built the Log table to quickly record all of the user's requested friendships. But all of these are processed in the background.
Unfortunately, the Twitter API does not allow for posting a list of accounts to follow in bulk. There is simply no way to do this in real time while the user is on your site.
So the user response to a Twixxr request is immediate, but it may take several hours or more for all of the accounts to be followed.
Here's the TwixxrController.php follow All method:
public function actionAll()
{
// make request for authenticated user to follow all twitter profiles
$x = new Twixxr();
$x->followTwixxr(Yii::$app->user->getId());
$x->followAll(Yii::$app->user->getId());
Yii::$app->getSession()->setFlash('success', Yii::t('frontend','Your request has been added to our queue.'));
$this->redirect(['twixxr/complete',['task'=>'all']]);
// redir home
}Here are the Twixxr::followAll and followCount methods that are also used by the numbered buttons above, for following 100, 200, 300 women, etc.
public function followAll($user_id) {
$allWomen = Item::find()->count();
$this->followCount($user_id,$allWomen);
}
public function followCount($user_id,$cnt=100) {
$women = Item::find()->orderBy('rand()')->limit($cnt)->all();
foreach ($women as $w) {
$l = Log::find()
->where(['user_id'=>$user_id,'item_id'=>$w->id])
->one();
if (!is_null($l)) {
$l->status = Log::STATUS_PENDING;
$l->update();
} else {
$l = new Log();
$l->user_id = $user_id;
$l->item_id = $w->id;
$l->event_id = Twixxr::EVENT_ADD;
$l->status = Log::STATUS_PENDING;
$l->save();
}
}
}They're just creating Log entries for each friendship request for the cron job to process in the background.
I hope you've enjoyed learning about using TwitterOAuth.php in Yii2 and how to authorize and apply the Twitter API on behalf of your site users.
Next, I'd like to use the Twitter API to analyze my own followers. I have a suspicion that the vast majority of Twitter followers are spammy bots, and I'd like to use the API to prove this. Stay tuned.
If you have any questions or suggestions, please post them in the comments. If you'd like to keep up on my future Envato Tuts+ tutorials and other series, please visit my instructor page or follow @reifman. Definitely check out my startup series and Meeting Planner.
Create Modern Vue Apps Using Create-Vue and Vite
/
5Pros and Cons of Using WordPress
/
-4How to Fix the “There Has Been a Critical Error in Your Website” Error in WordPress
/
1How To Fix The “There Has Been A Critical Error in Your Website” Error in WordPress
How to Create a Privacy Policy Page in WordPress
/
7WordPress Website Maintenance Guide For Beginners
/
6How Long Does It Take to Learn JavaScript?
/
-1How Long Does it Take to Learn JavaScript
/
1The Best Way to Deep Copy an Object in JavaScript
/
-2
4
-6Adding and Removing Elements From Arrays in JavaScript
/
-1Create a JavaScript AJAX Post Request: With and Without jQuery
/
95 Real-Life Uses for the JavaScript reduce() Method
/
-10How to Enable or Disable a Button With [removed] jQuery vs. Vanilla
/
2How to Enable or Disable a Button With [removed] jQuery vs Vanilla
/
-3Confirm Yes or No With JavaScript
/
-2How to Change the URL in [removed] Redirecting
/
-415+ Best WordPress Twitter Widgets
/
-227 Best Tab and Accordion Widget Plugins for WordPress (Free & Premium)
/
1021 Best Tab and Accordion Widget Plugins for WordPress (Free & Premium)
/
-1130 HTML Best Practices for Beginners
/
-831 Best WordPress Calendar Plugins and Widgets (With 5 Free Plugins)
/
625 Ridiculously Impressive HTML5 Canvas Experiments
/
-5How to Implement Email Verification for New Members
/
2How to Create a Simple Web-Based Chat Application
/
530 Popular WordPress User Interface Elements
/
-4Top 18 Best Practices for Writing Super Readable Code
/
3Best Affiliate WooCommerce Plugins Compared
/
-1018 Best WordPress Star Rating Plugins
/
1410+ Best WordPress Twitter Widgets
/
420+ Best WordPress Booking and Reservation Plugins
/
5Working With Tables in React: Part Two
/
-4Best CSS Animations and Effects on CodeCanyon
/
-1630 CSS Best Practices for Beginners
/
3How to Create a Custom WordPress Plugin From Scratch
/
510 Best Responsive HTML5 Sliders for Images and Text… and 3 Free Options
/
-516 Best Tab and Accordion Widget Plugins for WordPress
/
-418 Best WordPress Membership Plugins and 5 Free Plugins
/
325 Best WooCommerce Plugins for Products, Pricing, Payments and More
/
310 Best WordPress Twitter Widgets
1 /
1512 Best Contact Form PHP Scripts for 2020
/
-420 Popular WordPress User Interface Elements
/
-210 Best WordPress Star Rating Plugins
/
-412 Best CSS Animations on CodeCanyon
/
112 Best WordPress Booking and Reservation Plugins
/
120 Best WordPress Calendar Plugins and Widgets
/
-212 Elegant CSS Pricing Tables for Your Latest Web Project
/
724 Best WordPress Form Plugins for 2020
/
-214 Best PHP Event Calendar and Booking Scripts
/
-2Create a Blog for Each Category or Department in Your WooCommerce Store
/
28 Best WordPress Booking and Reservation Plugins
/
-17Best Exit Popups for WordPress Compared
/
20Best Exit Popups for WordPress Compared
/
-611 Best Tab & Accordion WordPress Widgets & Plugins
/
-1012 Best Tab & Accordion WordPress Widgets & Plugins
1New Course: Practical React Fundamentals
/
3Short Course: Better Angular App Architecture With Modules
/
2Preview Our New Course on Angular Material
/
4Object-Oriented PHP With Classes and Objects
/
3Best Practices for ARIA Implementation
/
-3Accessible Apps: Barriers to Access and Getting Started With Accessibility
/
-3Dramatically Speed Up Your React Front-End App Using Lazy Loading
/
1915 Best Modern JavaScript Admin Templates for React, Angular, and Vue.js
/
-1515 Best Modern JavaScript Admin Templates for React, Angular and Vue.js
/
219 Best JavaScript Admin Templates for React, Angular, and Vue.js
/
3New Course: Build an App With JavaScript and the MEAN Stack
/
12Hands-on With ARIA: Accessibility Recipes for Web Apps
/
910 Best WordPress Facebook Widgets
13 /
-5Hands-on With ARIA: Accessibility for eCommerce
/
6New eBooks Available for Subscribers
/
-5Hands-on With ARIA: Homepage Elements and Standard Navigation
/
10
-8Site Accessibility: Getting Started With ARIA
/
4How Secure Are Your JavaScript Open-Source Dependencies?
/
-1New Course: Secure Your WordPress Site With SSL
/
-3Testing Components in React Using Jest and Enzyme
/
-9Testing Components in React Using Jest: The Basics
/
-515 Best PHP Event Calendar and Booking Scripts
/
-1Create Interactive Gradient Animations Using Granim.js
/
10How to Build Complex, Large-Scale Vue.js Apps With Vuex
1Examples of Dependency Injection in PHP With Symfony Components
/
-6Set Up Routing in PHP Applications Using the Symfony Routing Component
1 /
10A Beginner’s Guide to Regular Expressions in JavaScript
/
13Introduction to Popmotion: Custom Animation Scrubber
/
-5Introduction to Popmotion: Pointers and Physics
/
-10New Course: Connect to a Database With Laravel’s Eloquent ORM
/
-5How to Create a Custom Settings Panel in WooCommerce
/
-12Building the DOM faster: speculative parsing, async, defer and preload
120 Useful PHP Scripts Available on CodeCanyon
3 /
51How to Find and Fix Poor Page Load Times With Raygun
/
1Introduction to the Stimulus Framework
/
-14Single-Page React Applications With the React-Router and React-Transition-Group Modules
/
2
712 Best Contact Form PHP Scripts
1 /
-4Getting Started With the Mojs Animation Library: The ShapeSwirl and Stagger Modules
/
2Getting Started With the Mojs Animation Library: The Shape Module
/
-4Getting Started With the Mojs Animation Library: The HTML Module
/
4Project Management Considerations for Your WordPress Project
/
-88 Things That Make Jest the Best React Testing Framework
/
4Creating an Image Editor Using CamanJS: Layers, Blend Modes, and Events
/
-2New Short Course: Code a Front-End App With GraphQL and React
Creating an Image Editor Using CamanJS: Applying Basic Filters
/
-13Creating an Image Editor Using CamanJS: Creating Custom Filters and Blend Modes
Challenge: Create a To-Do List in React
1 /
2Deploy PHP Web Applications Using Laravel Forge
/
-2Getting Started With the Mojs Animation Library: The Burst Module
/
6
-1010 Things Men Can Do to Support Women in Tech
/
1A Gentle Introduction to Higher-Order Components in React: Best Practices
/
-4Challenge: Build a React Component
/
-4A Gentle Introduction to HOC in React: Learn by Example
/
5A Gentle Introduction to Higher-Order Components in React
/
-6Creating Pretty Popup Messages Using SweetAlert2
/
4Creating Stylish and Responsive Progress Bars Using ProgressBar.js
/
1818 Best Contact Form PHP Scripts for 2022
/
-3How to Make a Real-Time Sports Application Using Node.js
/
-1Creating a Blogging App Using Angular & MongoDB: Delete Post
/
-16Set Up an OAuth2 Server Using Passport in Laravel
/
1Creating a Blogging App Using Angular & MongoDB: Edit Post
/
-2Creating a Blogging App Using Angular & MongoDB: Add Post
/
-1Creating a Blogging App Using Angular & MongoDB: Show Post
/
9Creating a Blogging App Using Angular & MongoDB: Home
/
8
3Creating a Blogging App Using Angular & MongoDB: Login
/
13Creating Your First Angular App: Implement Routing
/
12Persisted WordPress Admin Notices: Part 4
/
-4Creating Your First Angular App: Components, Part 2
/
4Persisted WordPress Admin Notices: Part 3
/
3How Laravel Broadcasting Works
/
1
8Persisted WordPress Admin Notices: Part 2
/
-3Create Your First Angular App: Storing and Accessing Data
/
2Persisted WordPress Admin Notices: Part 1
/
-3Error and Performance Monitoring for Web & Mobile Apps Using Raygun
/
7Using Luxon for Date and Time in JavaScript
7 /
-6How to Create an Audio Oscillator With the Web Audio API
/
-4How to Cache Using Redis in Django Applications
/
220 Essential WordPress Utilities to Manage Your Site
/
-5Introduction to API Calls With React and Axios
/
17Beginner’s Guide to Angular 4: HTTP
/
11Rapid Web Deployment for Laravel With GitHub, Linode, and RunCloud.io
/
9Beginners Guide to Angular 4: Routing
/
-9Beginner’s Guide to Angular 4: Components
/
1Creating a Drop-Down Menu for Mobile Pages
/
5Introduction to Forms in Angular 4: Writing Custom Form Validators
/
5Getting Started With Redux: Connecting Redux With React
/
15Getting Started With Redux: Learn by Example
/
16Getting Started With Redux: Why Redux?
/
9Understanding Recursion With JavaScript
/
-3How to Auto Update WordPress Salts
/
-7How to Download Files in Python
/
-3
-22Eloquent Mutators and Accessors in Laravel
1 /
18
-11
1310 Best HTML5 Sliders for Images and Text
/
6Site Authentication in Node.js: User Signup
/
-5Creating a Task Manager App Using Ionic: Part 2
/
2Creating a Task Manager App Using Ionic: Part 1
/
1
3Introduction to Forms in Angular 4: Template-Driven Forms
/
-224 Essential WordPress Utilities to Manage Your Site
/
-225 Essential WordPress Utilities to Manage Your Site
/
-11Get Rid of Bugs Quickly Using BugReplay
1 /
-15Manipulating HTML5 Canvas Using Konva: Part 1, Getting Started
/
610 Must-See Easy Digital Downloads Extensions for Your WordPress Site
/
-122 Best WordPress Booking and Reservation Plugins
/
-6Understanding ExpressJS Routing
/
-715 Best WordPress Star Rating Plugins
/
12Inheritance and Extending Objects With JavaScript
/
-9Introduction to the CSS Grid Layout With Examples
1 /
2
8Performant Animations Using KUTE.js: Part 5, Easing Functions and Attributes
/
-8Performant Animations Using KUTE.js: Part 4, Animating Text
/
-13Performant Animations Using KUTE.js: Part 3, Animating SVG
/
-10New Course: Code a Quiz App With Vue.js
/
-1Performant Animations Using KUTE.js: Part 2, Animating CSS Properties
/
3
8Performant Animations Using KUTE.js: Part 1, Getting Started
/
210 Best Responsive HTML5 Sliders for Images and Text (Plus 3 Free Options)
/
-3Single-Page Applications With ngRoute and ngAnimate in AngularJS
/
-12Deferring Tasks in Laravel Using Queues
/
-4
4Site Authentication in Node.js: User Signup and Login
/
12Working With Tables in React, Part Two
/
-16Working With Tables in React, Part One
/
6How to Set Up a Scalable, E-Commerce-Ready WordPress Site Using ClusterCS
/
-3New Course on WordPress Conditional Tags
/
3TypeScript for Beginners, Part 5: Generics
/
1
-11Building With Vue.js 2 and Firebase
6 /
11
-8
1Best Unique Bootstrap JavaScript Plugins
/
-9
-5Essential JavaScript Libraries and Frameworks You Should Know About
/
7
2Vue.js Crash Course: Create a Simple Blog Using Vue.js
/
-13Build a React App With a Laravel RESTful Back End: Part 1, Laravel 5.5 API
/
4API Authentication With Node.js
/
-4Beginner’s Guide to Angular: HTTP
/
7Beginner’s Guide to Angular: Routing
/
-4Beginners Guide to Angular: Routing
/
-5Beginner’s Guide to Angular: Services
/
4How to Create a Custom Authentication Guard in Laravel
/
6Learn Computer Science With [removed] Part 3, Loops
/
-3Build Web Applications Using Node.js
/
1Learn Computer Science With [removed] Part 4, Functions
/
4Learn Computer Science With [removed] Part 2, Conditionals
/
14Learn Computer Science With [removed] Part 1, The Basics
/
-4Create Interactive Charts Using Plotly.js, Part 5: Pie and Gauge Charts
/
-9Create Interactive Charts Using Plotly.js, Part 4: Bubble and Dot Charts
/
18Create Interactive Charts Using Plotly.js, Part 3: Bar Charts
/
-13Awesome JavaScript Libraries and Frameworks You Should Know About
/
-4Create Interactive Charts Using Plotly.js, Part 2: Line Charts
/
-8Bulk Import a CSV File Into MongoDB Using Mongoose With Node.js
/
-5Build a To-Do API With Node, Express, and MongoDB
/
-7Getting Started With End-to-End Testing in Angular Using Protractor
/
9TypeScript for Beginners, Part 4: Classes
/
-10Object-Oriented Programming With JavaScript
/
610 Best Affiliate WooCommerce Plugins Compared
/
8Stateful vs. Stateless Functional Components in React
/
10Make Your JavaScript Code Robust With Flow
/
-6Build a To-Do API With Node and Restify
/
7Testing Components in Angular Using Jasmine: Part 2, Services
/
2Testing Components in Angular Using Jasmine: Part 1
/
-2Creating a Blogging App Using React, Part 6: Tags
/
-11React Crash Course for Beginners, Part 3
/
1React Crash Course for Beginners, Part 2
/
10React Crash Course for Beginners, Part 1
/
2Set Up a React Environment, Part 4
1 /
8Set Up a React Environment, Part 3
/
-11New Course: Get Started With Phoenix
/
-10Set Up a React Environment, Part 2
/
2Set Up a React Environment, Part 1
/
1Command Line Basics and Useful Tricks With the Terminal
/
5How to Create a Real-Time Feed Using Phoenix and React
/
-8Build a React App With a Laravel Back End: Part 2, React
/
2Build a React App With a Laravel RESTful Back End: Part 1, Laravel 9 API
/
-7Creating a Blogging App Using React, Part 5: Profile Page
/
-5Pagination in CodeIgniter: The Complete Guide
/
23JavaScript-Based Animations Using Anime.js, Part 4: Callbacks, Easings, and SVG
/
-1JavaScript-Based Animations Using Anime.js, Part 3: Values, Timeline, and Playback
Learn to Code With [removed] Part 1, The Basics
/
510 Elegant CSS Pricing Tables for Your Latest Web Project
/
-7Getting Started With the Flux Architecture in React
/
-3Getting Started With Matter.js: The Composites and Composite Modules
/
4Getting Started With Matter.js: The Engine and World Modules
/
1310 More Popular HTML5 Projects for You to Use and Study
/
-24Understand the Basics of Laravel Middleware
/
-6Iterating Fast With Django & Heroku
/
8Creating a Blogging App Using React, Part 4: Update & Delete Posts
/
3Creating a jQuery Plugin for Long Shadow Design
/
-10How to Register & Use Laravel Service Providers
2 /
-13Unit Testing in React: Shallow vs. Static Testing
/
5Creating a Blogging App Using React, Part 3: Add & Display Post
/
16Creating a Blogging App Using React, Part 2: User Sign-Up
20 /
-6Creating a Blogging App Using React, Part 1: User Sign-In
/
99 More Popular HTML5 Projects for You to Use and Study
/
18Creating a Grocery List Manager Using Angular, Part 2: Managing Items
/
7Dynamic Page Templates in WordPress, Part 3
/
-1Angular vs. React: 7 Key Features Compared
/
5Creating a Grocery List Manager Using Angular, Part 1: Add & Display Items
/
3New eBooks Available for Subscribers in June 2017
/
7Create Interactive Charts Using Plotly.js, Part 1: Getting Started
/
11The 5 Best IDEs for WordPress Development (And Why)
/
133 Popular WordPress User Interface Elements
/
2New Course: How to Hack Your Own App
/
-10How to Install Yii on Windows or a Mac
/
5What Is a JavaScript Operator?
/
-5How to Register and Use Laravel Service Providers
/
7
waly Good blog post. I absolutely love this…