Welcome to this week's design & development roundup!
This week, Facebook announced it would be updating its ad policy to stop discriminatory ad practices on the platform and Apple is reportedly looking to implement an iris scanner into the iPhone 8 (exciting!)
Website Launch Checklist
Photo: Fraser Boag
If you're the type of designer/developer that always forgets something before you put a new project live, front end developer @fraserboag is here to save the day! Fraser has put together a handy little website in the form of a checklist for you to run through before you launch your new website.
It includes checking for grammatical errors, ensuring all of your contact forms are hooked up, benchmarking & performance checks, compatibility checking, infrastructure, analytics and ensuring the domain name and web hosting setup and linked!
I work with Wordpress quite frequently - whether voluntarily or compulsory, but regardless of the situation, Wordpress is always comes with the same bugbears.
When asked to start a new WP project, there are so many things you need to action before you can even begin - the download, the install, creating the databases, adding to your hosts file, setting up your vhost, + all things MAMP related. I’ve done this process the same way for years, and never even thought about if there is an easier option, until I was asked to work on a WP Multisite.
We work with Vagrant in the studio, but have not yet set up a WP install on a box. Looking for any way to make this method easier, I came across WP-CLI.
Even if you’re not well versed with CLI, the step by step instructions are so easy to understand and work through, you will have WP-CLI set up in seconds.
Download the wp-cli.phar file:
$ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
Check if it is working
$ php wp-cli.phar --info
To use WP-CLI from the command line by typing wp, make the file executable and move it to somewhere in your PATH. For example:
$ chmod +x wp-cli.phar $ sudo mv wp-cli.phar /usr/local/bin/wp
If WP-CLI was installed successfully, you should see something like this when you run wp --info:
$ wp --info PHP binary: /usr/bin/php5 PHP version: 5.5.9-1ubuntu4.14 php.ini used: /etc/php5/cli/php.ini WP-CLI root dir: /home/wp-cli/.wp-cli WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/ WP-CLI global config: /home/wp-cli/.wp-cli/config.yml WP-CLI project config: WP-CLI version: 1.1.0
You can update WP-CLI with
wp cli update
Now you’re all installed - WP-CLI has a whole host of commands ready to use to make WP development that much quicker!
STF – Smartphone Test Farm
Smartphone Test Farm or STF is a smartphone debugging suite available as a web application which enables a collection of devices to be connected and debugged. STF currently only supports the Android OS from 2.3 to 7.1 including Android Wear. STF’s features include ability to remotely control any device from the browser, managing device inventory and a simple rest API. More information about system requirements and installation can be found below.
Instagram's Private API
Whenever an app uses an undisclosed API, people will endeavour to find the endpoints and expose them as much as possible. It's safe to say, Instagram has already had its fair share of API reverse-engineering and have had to update all of the keys it uses to sign their requests in the past.
Instagram Node.js API
All of the API's above let you access private endpoints such as uploading your own photos and videos, liking posts, following and unfollowing users - even sending direct messages.
As is stated on all of these projects - use it carefully. The implementations send requests by passing over a UDID and trick the API to believing it's coming from a cellular device but there's nothing to stop Instagram blocking your IP or UDID.