Download - SunShine PHP

Transcript
Page 1: SunShine PHP

T H E W O R D P R E S S R E S T A P I

D A V I D B I S S E T dimensionmedia

W H AT I S A R E S T A P I

REpresentational State Transfer Application Programing Interface

W H A T I S A R E S T A P I

Separation Between Client and Server Stateless No State You Should Get Same

Data From Same Requests Cacheable Layerable Load-Balancing etc Uniform REST APIs typically tell you how to

access the data Flexible Doesnrsquot Matter Where ServerClient

Area Or What They Are Simple Uses StandardEstablished Methods

C R U D A N D H T T P M E T H O D S

CREATE -gt POST READ -gt GET UPDATE -gt PUT DELETE -gt DELETE

W H AT I S T H E W P R E S T A P I

W O R D P R E S S + R E S T A P I =

A W E S O M E S A U C E

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 2: SunShine PHP

W H AT I S A R E S T A P I

REpresentational State Transfer Application Programing Interface

W H A T I S A R E S T A P I

Separation Between Client and Server Stateless No State You Should Get Same

Data From Same Requests Cacheable Layerable Load-Balancing etc Uniform REST APIs typically tell you how to

access the data Flexible Doesnrsquot Matter Where ServerClient

Area Or What They Are Simple Uses StandardEstablished Methods

C R U D A N D H T T P M E T H O D S

CREATE -gt POST READ -gt GET UPDATE -gt PUT DELETE -gt DELETE

W H AT I S T H E W P R E S T A P I

W O R D P R E S S + R E S T A P I =

A W E S O M E S A U C E

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 3: SunShine PHP

REpresentational State Transfer Application Programing Interface

W H A T I S A R E S T A P I

Separation Between Client and Server Stateless No State You Should Get Same

Data From Same Requests Cacheable Layerable Load-Balancing etc Uniform REST APIs typically tell you how to

access the data Flexible Doesnrsquot Matter Where ServerClient

Area Or What They Are Simple Uses StandardEstablished Methods

C R U D A N D H T T P M E T H O D S

CREATE -gt POST READ -gt GET UPDATE -gt PUT DELETE -gt DELETE

W H AT I S T H E W P R E S T A P I

W O R D P R E S S + R E S T A P I =

A W E S O M E S A U C E

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 4: SunShine PHP

W H A T I S A R E S T A P I

Separation Between Client and Server Stateless No State You Should Get Same

Data From Same Requests Cacheable Layerable Load-Balancing etc Uniform REST APIs typically tell you how to

access the data Flexible Doesnrsquot Matter Where ServerClient

Area Or What They Are Simple Uses StandardEstablished Methods

C R U D A N D H T T P M E T H O D S

CREATE -gt POST READ -gt GET UPDATE -gt PUT DELETE -gt DELETE

W H AT I S T H E W P R E S T A P I

W O R D P R E S S + R E S T A P I =

A W E S O M E S A U C E

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 5: SunShine PHP

C R U D A N D H T T P M E T H O D S

CREATE -gt POST READ -gt GET UPDATE -gt PUT DELETE -gt DELETE

W H AT I S T H E W P R E S T A P I

W O R D P R E S S + R E S T A P I =

A W E S O M E S A U C E

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 6: SunShine PHP

W H AT I S T H E W P R E S T A P I

W O R D P R E S S + R E S T A P I =

A W E S O M E S A U C E

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 7: SunShine PHP

W O R D P R E S S + R E S T A P I =

A W E S O M E S A U C E

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 8: SunShine PHP

REQU IREMENTS

WordPress 44 WP REST API Plugin 20

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 9: SunShine PHP

L E T rsquo S D I V E I N

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 10: SunShine PHP

P O S T M A Nhttpswwwgetpostmancom

Allows us to build and send requests to our API and also

process and handle responses A really great tool for working with any type of REST API not just the

WordPress API

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 11: SunShine PHP

httplocalwordpressdevwp-json

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 12: SunShine PHP

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 13: SunShine PHP

davidbissetcomwp-jsonwpv2comments

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 14: SunShine PHP

davidbissetcomwp-jsonwpv2mediadavidbissetcomwp-jsonwpv2media1792

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 15: SunShine PHP

U S I N G C U R L amp W P _ H T T P

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 16: SunShine PHP

curl httplocalwordpressdevwp-jsonwpv2posts

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 17: SunShine PHP

$curl = curl_init()

curl_setopt ($curl CURLOPT_URL httplocalwordpressdevwp-jsonwpv2posts)

$json = curl_exec ($curl)

curl_close ($curl)

$data = json_decode($json)

var_dump($data)

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 18: SunShine PHP

$json = wp_remote_get( httplocalwordpressdevwp-jsonwpv2posts )

$return = json_decode( $json[body] )

var_dump($return)

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 19: SunShine PHP

W O R K I N G W I T H P O S T S

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 20: SunShine PHP

davidbissetcomwp-jsonwpv2posts

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 21: SunShine PHP

davidbissetcomwp-jsonwpv2posts1805

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 22: SunShine PHP

F I LT E R I N G P O S T S

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 23: SunShine PHP

wp-jsonwpv2postsfilter[orderby]=rand

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 24: SunShine PHP

davidbissetcomwp-jsonwpv2postsfilter[s]=dradcast

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 25: SunShine PHP

wp-jsonwpv2postsfilter[posts_per_page]=1ampfilter[paged]=1ampfilter[s]=dradcast

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 26: SunShine PHP

PA G E S

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 27: SunShine PHP

wp-jsonwpv2pages

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 28: SunShine PHP

P O S T M E TA

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 29: SunShine PHP

P O S T M E TA ( F I LT E R I N G )

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 30: SunShine PHP

davidbissetcomwp-jsonwpv2postsfilter[meta_key]=test_meta

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 31: SunShine PHP

A U T H E N T I C AT I O N

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 32: SunShine PHP

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 33: SunShine PHP

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 34: SunShine PHP

BAS IC -AUTHhttpsgithubcomWP-APIBasic-Auth

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 35: SunShine PHP

TA D A B A S I C A U T H G E T S Y O U T H E S A M E A C C E S S R O L E S A S Y O U R W P U S E R

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 36: SunShine PHP

F O R E X A M P L E I F Y O U H A V E A D M I N A C C E S S Y O U C A N S E E A L L U S E R S

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 37: SunShine PHP

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 38: SunShine PHP

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 39: SunShine PHP

T H E R E A R E 4 B A S I C T Y P E S O F A U T H E N T I C A T I O N A VA I L A B L E F O R U S E R I G H T N O W

Basic Authentication ndash via a plugin Cookie Authentication ndash out of the box Oauth2 Authentication ndash via a plugin (third party) Oauth1 Authentication ndash via a plugin

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 40: SunShine PHP

D I G G I N G I N T O T H E A P I C R E AT I N G A N E W P O S T

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 41: SunShine PHP

D I G G I N G I N T O T H E A P I A D D N I N G amp U P D AT I N G P O S T

M E TA T O A P O S T

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 42: SunShine PHP

D I G G I N G I N T O T H E A P I D E L E T I N G A P O S T

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 43: SunShine PHP

W H Y T H I S I S C O O L

ldquoReverse Mulletrdquo Business in back party in the front You donrsquot have to write PHP (write what you want) WordPress Can Now Power Native Mobile

Applications Desktop Applications Possible More engaging user experience Offline Control over failed connections etc

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 44: SunShine PHP

T H E M E S W I T H T H E W O R D P R E S S R E S T A P I

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 45: SunShine PHP

B U I L D I N G A P L U G I N U S I N G W P - A P I A N D A J A X

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 46: SunShine PHP

W H AT W E A R E B U I L D I N G

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 47: SunShine PHP

T H I N K A B O U T T H E A P I R E Q U E S T U R L

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 48: SunShine PHP

New WordPress 44 Install Used FakerPress To Add Random Content

Categories Installed the WP REST API Plugin Using Popper As My Theme

B U I L D T H E P L U G I N S E T U P

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 49: SunShine PHP

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 50: SunShine PHP

B U I L D T H E P L U G I N F I R S T S T E P S

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 51: SunShine PHP

B U I L D T H E P L U G I N S E T U P F U N C T I O N S

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 52: SunShine PHP

S O O N 2 5 O F T H E W E B

W I L L H A V E A C C E S S T O T H E W O R D P R E S S R E S T A P I A N D W I L L B E U S E D F O R I N T E R E S T I N G T H I N G S

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 53: SunShine PHP

R E S O U R C E Shttpwp-apiorg Official Documentation

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 54: SunShine PHP

WordCamp Miami 2016February 19-21 FIU College of Business

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 55: SunShine PHP

T H A N K Y O U

D A V I D B I S S E T dimensionmedia

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A

Page 56: SunShine PHP

david bissetD A V I D B I S S E T C O M

D I M E N S I O N M E D I A


Top Related