SlideShare uma empresa Scribd logo
1 de 50
Baixar para ler offline
Spooky WordPress
Disturbingly Brilliant Uses of WP
Brad “The Butcher” Williams
Brian “The Maniac” Messenlehner
• Co-Founder of WebDevStudios.com
• Co-Author of Professional WordPress
• Co-Host of the SitePoint Podcast
• Co-founder of WebDevStudios.com
• That other guy
• Proprietary Software Developer Enlightened by Open-Source
• WordPress! WordPress! WordPress!
Professional WordPress Plugin Development coming March 2011
@williamsba
@bmess
Your Hosts
Disturbing Topics
• iPhone Apps Powered by WP
• Facebook Apps Powered by WP
• Interesting Plugins/Themes in WP
WordPress is MUCH More
than website software
WordPress is MUCH More
than website software
Scary isn’t it?!
WordPress is MUCH More
than website software
Scary isn’t it?!
Think Outside the Box! WordPress can be used for anything!
If you are stuck in a box that’s an entirely different issue
Why Reinvent the Wheel?
Core WordPress Features
Content Management with custom types
and taxonomies
User accounts and roles
Image, Media, and Gallery Support
Link Management
Easily extensible with plugins
New iPhone App
So What Did We Build?
App to End World Hunger?
App to solve a critical problem?
App to provide a useful tool or service?
So What Did We Build?
Of Course Not! We Built:
Location Based Pee Tracking
Search “ipfree.ly” in the App store
New users can register an account (in WordPress)
Uses a modified XML-RPC
Existing users can login (and remember me)
Authenticates using WordPress
Users can PLOT and add a simple description
PLOT is saved and all existing plots are listed
http://ipfree.ly
Geo data saved as meta data
(custom fields) against the post
Each PLOT is a post in WordPress
Every post is listed in WordPress as normal
Profile pages show user’s latest plots on a map
http://ipfree.ly/brad
Each “plot” is a post in WP with a unique permalink
http://ipfree.ly/brad/empire-state-building/
http://ipfree.ly/user - loads the author.php template
http://ipfree.ly/user/postname - loads the single.php template
Facebook like URLs in WordPress
http://ios.wordpress.org
100% GPL
http://iphone.svn.wordpress.org/trunk/
Crazy Right?
What is Auto Photobook?
• Auto Photobook is photo analyzing software
developed by HP Labs.
• Photos are uploaded, analyzed to remove
similar photos and group photos with the
same people and contrasts together than
automatically arranged them into a photo
book that is converted to a .pdf file that can
be printed or emailed to friends to print.
• WDS - Make a Facebook application for Auto
Photobook that users a person’s fb photos.
Mother Falcon!!!!
This isn’t WordPress!!!!
Wait, Why Not?!?!?!?
Sure it is…
Auto Photobook:
•Users > Books > Pages/Photos
WordPress:
•Users > Posts > Attachments/Photos
http://apps.facebook.com/autophotobook/
Benefits of using WordPress:
Use all of the handy WP functions we are used
to using in our day to day lives.
• Use core WP elements like Comments,
Categories & Tags
• Use WP Plugins to extend functionality even
further if need be ie: Post Rating, Caching and
pretty much any other plugin that would work
around a Post.
• We created a Facebook WordPress theme that
makes any WordPress website look and
function like it belongs in Facebook as an App
Facebook Application
Meet Keith Milks
(Ax Murderer)
He received a request to
join the Auto Photobook
Facebook Application
Extended Permissions
http://developers.facebook.com/docs/authentication/permissions
Can request a lot of permissions from access a user’s email address to
reading their Facebook inbox to accessing all of a user’s friends birthdays.
Add this user to WordPressWhen Keith allows permission to the app
he gets added as a WordPress user and
some of his Facebook data is saved as
user meta in addition to his name. At this
point we could save any of Keith’s
Facebook data from his birthday to what
movies he likes if we wanted to store it.
A filter is applied to replace all
WordPress avatars with their Facebook
profile photo:
add_filter('get_avatar','fb_get_avatar’);
function fb_get_avatar($fb_id) {
$avatar='<img
src="https://graph.facebook.com/'.$fb_id.
'/picture"/>';
return $avatar;
}
https://graph.facebook.com/any-fb-id/picture will return that users default profile photo
Build a Book
Process Book
• Creates a WordPress post with the book name
as the title and the description as the content
under the WP user Keith Milks.
• Pushes up any FB photos selected to the Auto
Photobook API.
• Returns book information from Auto
Photobook API and saves it in custom fields
per the post.
• Renders a flash editor with the finished book.
Publish Book• Photobook is converted to a .PDF file.
• Photobook pages are converted to individual
images and stored as an attachment against
the WordPress post.
• Post changes from draft to published.
• A Facebook wall post is made on the user’s
Facebook wall.
• If any of the user’s friends were Facebook
tagged in any of the photos they used to
make the book, wall posts will be made on
their Facebook walls as well.
News Feed Example
Single.php
Can do anything on this page as if it where a post page because it is.
Any comments made will also trigger a Facebook wall post being made
to the authors Facebook wall and the commenter's Facebook wall.
All Books - Standard WordPress Loop
Friends’ Book – FQL & WordPress Loop
• Facebook Query Language is used to only
return WP authors that are Facebook friends
Edit Post Page in Backend
• WordPress automatically provides a backend
UI for managing any books created by any
Facebook users
Invite Friends
Spread like a
flesh eating virus!
Make It Stop!
#wcphilly after party
Notable WordPress Projects
http://collabpress.org
Task Management Plugin
Notable WordPress Projects
http://rolopress.com
Contact Manager Theme
Notable WordPress Projects
http://getqualitycontrol.com
Simple Ticketing System Theme
Questions?
Brad “The Butcher” Williams
Brian “The Maniac” Messenlehner
• Email: brad@webdevstudios.com
• Twitter: @williamsba
• Blog: strangework.com
• Email: brian@webdevstudios.com
• Twitter: @bmess
Professional WordPress Plugin Development coming March 2011
Contact
http://bit.ly/pro-wp
Spooky WordPress: Disturbingly Brilliant Uses of WP

Mais conteúdo relacionado

Mais procurados

Holiday Wish List For Today's Technology Tools
Holiday Wish List For Today's Technology ToolsHoliday Wish List For Today's Technology Tools
Holiday Wish List For Today's Technology Tools
Doug Devitre
 

Mais procurados (20)

Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011Mobilizing wordpress WordCamp Edmonton 2011
Mobilizing wordpress WordCamp Edmonton 2011
 
Book Reader Bingo: Which Page-Turner Should I Use?
Book Reader Bingo: Which Page-Turner Should I Use?Book Reader Bingo: Which Page-Turner Should I Use?
Book Reader Bingo: Which Page-Turner Should I Use?
 
Powerpointpres
PowerpointpresPowerpointpres
Powerpointpres
 
Holiday Wish List For Today's Technology Tools
Holiday Wish List For Today's Technology ToolsHoliday Wish List For Today's Technology Tools
Holiday Wish List For Today's Technology Tools
 
WordPress for Libraries PreConference Workshop
WordPress for Libraries PreConference WorkshopWordPress for Libraries PreConference Workshop
WordPress for Libraries PreConference Workshop
 
WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...
WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...
WordCamp Kent 2019 - WP 101: Themes & Plugins: What are they, and where do I ...
 
How to Share Photos and Videos Online
How to Share Photos and Videos OnlineHow to Share Photos and Videos Online
How to Share Photos and Videos Online
 
Get plugged in with HCL Connections
Get plugged in with HCL ConnectionsGet plugged in with HCL Connections
Get plugged in with HCL Connections
 
Wordpress SEO - Joost De Valk - joast
Wordpress SEO - Joost De Valk - joastWordpress SEO - Joost De Valk - joast
Wordpress SEO - Joost De Valk - joast
 
Blogging
BloggingBlogging
Blogging
 
Social media and internet marketing
Social media and internet marketingSocial media and internet marketing
Social media and internet marketing
 
Adding Content to your WordPress Website
Adding Content to your WordPress WebsiteAdding Content to your WordPress Website
Adding Content to your WordPress Website
 
What Developers Need Designers to Know about WordPress
What Developers Need Designers to Know about WordPressWhat Developers Need Designers to Know about WordPress
What Developers Need Designers to Know about WordPress
 
WordCamp Kent 2019 - WP 101: WordPress Basics
WordCamp Kent 2019 - WP 101: WordPress BasicsWordCamp Kent 2019 - WP 101: WordPress Basics
WordCamp Kent 2019 - WP 101: WordPress Basics
 
Building a Library Website with WordPress
Building a Library Website with WordPressBuilding a Library Website with WordPress
Building a Library Website with WordPress
 
Ironfan: Build a Hadoop Cluster in 20 minutes
Ironfan: Build a Hadoop Cluster in 20 minutesIronfan: Build a Hadoop Cluster in 20 minutes
Ironfan: Build a Hadoop Cluster in 20 minutes
 
WordPress on Amazon Web Services Meetup
WordPress on Amazon Web Services Meetup WordPress on Amazon Web Services Meetup
WordPress on Amazon Web Services Meetup
 
Themes: What they Are - How To Use 'Em - DaytonWP November 2012 MeetUp
Themes: What they Are - How To Use 'Em - DaytonWP November 2012 MeetUpThemes: What they Are - How To Use 'Em - DaytonWP November 2012 MeetUp
Themes: What they Are - How To Use 'Em - DaytonWP November 2012 MeetUp
 
WordPress best practices by billrice
WordPress best practices by billriceWordPress best practices by billrice
WordPress best practices by billrice
 
WordPress 101 - Understanding Fundamental Concepts in WordPress
WordPress 101 - Understanding Fundamental Concepts in WordPressWordPress 101 - Understanding Fundamental Concepts in WordPress
WordPress 101 - Understanding Fundamental Concepts in WordPress
 

Destaque (6)

Website Design Dos and Don’ts for a Successful Online Presence
Website Design Dos and Don’ts  for a Successful Online PresenceWebsite Design Dos and Don’ts  for a Successful Online Presence
Website Design Dos and Don’ts for a Successful Online Presence
 
Advanced Thesis Techniques and Tricks
Advanced Thesis Techniques and TricksAdvanced Thesis Techniques and Tricks
Advanced Thesis Techniques and Tricks
 
WordCamp Mid-Atlantic WordPress Security
WordCamp Mid-Atlantic WordPress SecurityWordCamp Mid-Atlantic WordPress Security
WordCamp Mid-Atlantic WordPress Security
 
WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013WordPress Security WordCamp OC 2013
WordPress Security WordCamp OC 2013
 
Now That's What I Call WordPress Security 2010
Now That's What I Call WordPress Security 2010Now That's What I Call WordPress Security 2010
Now That's What I Call WordPress Security 2010
 
Top 20 WordPress Plugins You've Never Heard Of
Top 20 WordPress Plugins You've Never Heard OfTop 20 WordPress Plugins You've Never Heard Of
Top 20 WordPress Plugins You've Never Heard Of
 

Semelhante a Spooky WordPress: Disturbingly Brilliant Uses of WP

GDI - Intro to WordPress
GDI - Intro to WordPressGDI - Intro to WordPress
GDI - Intro to WordPress
Suzette Franck
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website development
John Faust
 

Semelhante a Spooky WordPress: Disturbingly Brilliant Uses of WP (20)

Did wordpressdothat
Did wordpressdothatDid wordpressdothat
Did wordpressdothat
 
WordPress Meetup Bandung - December 2014
WordPress Meetup Bandung - December 2014WordPress Meetup Bandung - December 2014
WordPress Meetup Bandung - December 2014
 
WordPress Complete Tutorial
WordPress Complete TutorialWordPress Complete Tutorial
WordPress Complete Tutorial
 
Word press 101
Word press 101Word press 101
Word press 101
 
WordPress.pptx
WordPress.pptxWordPress.pptx
WordPress.pptx
 
Best Wordpress Plugins
Best Wordpress PluginsBest Wordpress Plugins
Best Wordpress Plugins
 
Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.Keeping Your Themes and Plugins Organized.
Keeping Your Themes and Plugins Organized.
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
 
WordPress can do that?!
WordPress can do that?!WordPress can do that?!
WordPress can do that?!
 
Getting to know WordPress
Getting to know WordPressGetting to know WordPress
Getting to know WordPress
 
Kick start your career with wordpress
Kick start your career with wordpressKick start your career with wordpress
Kick start your career with wordpress
 
Wordpress beyond blogging
Wordpress beyond bloggingWordpress beyond blogging
Wordpress beyond blogging
 
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and PluginsWordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
WordCamp Kent 2019 - WP 101: Local Development - Themes and Plugins
 
BuddyPress: A Social Network for your Classroom
BuddyPress: A Social Network for your ClassroomBuddyPress: A Social Network for your Classroom
BuddyPress: A Social Network for your Classroom
 
GDI - Intro to WordPress
GDI - Intro to WordPressGDI - Intro to WordPress
GDI - Intro to WordPress
 
Websites With Wordpress
Websites With WordpressWebsites With Wordpress
Websites With Wordpress
 
bbPress - Plugin Development Done Right
bbPress - Plugin Development Done RightbbPress - Plugin Development Done Right
bbPress - Plugin Development Done Right
 
WordPress Theme Workshop: Part 1
WordPress Theme Workshop: Part 1WordPress Theme Workshop: Part 1
WordPress Theme Workshop: Part 1
 
Wordpress website development
Wordpress website developmentWordpress website development
Wordpress website development
 
WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 

Mais de Brad Williams

Mais de Brad Williams (18)

From Freelance to Agency: Hiring Employee Number One - WordCamp London 2015
From Freelance to Agency: Hiring Employee Number One - WordCamp London 2015From Freelance to Agency: Hiring Employee Number One - WordCamp London 2015
From Freelance to Agency: Hiring Employee Number One - WordCamp London 2015
 
Hiring Employee Number One: From Freelancer to Agency
Hiring Employee Number One: From Freelancer to AgencyHiring Employee Number One: From Freelancer to Agency
Hiring Employee Number One: From Freelancer to Agency
 
Writing Secure WordPress Code WordCamp NYC 2014
Writing Secure WordPress Code WordCamp NYC 2014Writing Secure WordPress Code WordCamp NYC 2014
Writing Secure WordPress Code WordCamp NYC 2014
 
How to Make a Native Mobile App with WordPress
How to Make a Native Mobile App with WordPressHow to Make a Native Mobile App with WordPress
How to Make a Native Mobile App with WordPress
 
Writing Secure WordPress Code
Writing Secure WordPress CodeWriting Secure WordPress Code
Writing Secure WordPress Code
 
Using WordPress as an Application Framework
Using WordPress as an Application FrameworkUsing WordPress as an Application Framework
Using WordPress as an Application Framework
 
Top Ten WordPress Security Tips for 2012
Top Ten WordPress Security Tips for 2012Top Ten WordPress Security Tips for 2012
Top Ten WordPress Security Tips for 2012
 
WordPress Security from WordCamp NYC 2012
WordPress Security from WordCamp NYC 2012WordPress Security from WordCamp NYC 2012
WordPress Security from WordCamp NYC 2012
 
WordPress Multisite
WordPress MultisiteWordPress Multisite
WordPress Multisite
 
WordPress for Beginners
WordPress for BeginnersWordPress for Beginners
WordPress for Beginners
 
Creating Your First WordPress Plugin
Creating Your First WordPress PluginCreating Your First WordPress Plugin
Creating Your First WordPress Plugin
 
Surviving the Zombie Apocalypse using Custom Post Types and Taxonomies
Surviving the Zombie Apocalypse using Custom Post Types and TaxonomiesSurviving the Zombie Apocalypse using Custom Post Types and Taxonomies
Surviving the Zombie Apocalypse using Custom Post Types and Taxonomies
 
Intro to WordPress Plugin Development
Intro to WordPress Plugin DevelopmentIntro to WordPress Plugin Development
Intro to WordPress Plugin Development
 
Custom Post Types and Taxonomies in WordPress
Custom Post Types and Taxonomies in WordPressCustom Post Types and Taxonomies in WordPress
Custom Post Types and Taxonomies in WordPress
 
WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010WordPress Security - WordCamp Boston 2010
WordPress Security - WordCamp Boston 2010
 
WordPress Security - WordCamp NYC 2009
WordPress Security - WordCamp NYC 2009WordPress Security - WordCamp NYC 2009
WordPress Security - WordCamp NYC 2009
 
WordPress Security Updated - NYC Meetup 2009
WordPress Security Updated - NYC Meetup 2009WordPress Security Updated - NYC Meetup 2009
WordPress Security Updated - NYC Meetup 2009
 
WordPress Security
WordPress SecurityWordPress Security
WordPress Security
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

Spooky WordPress: Disturbingly Brilliant Uses of WP

  • 2. Brad “The Butcher” Williams Brian “The Maniac” Messenlehner • Co-Founder of WebDevStudios.com • Co-Author of Professional WordPress • Co-Host of the SitePoint Podcast • Co-founder of WebDevStudios.com • That other guy • Proprietary Software Developer Enlightened by Open-Source • WordPress! WordPress! WordPress! Professional WordPress Plugin Development coming March 2011 @williamsba @bmess Your Hosts
  • 3. Disturbing Topics • iPhone Apps Powered by WP • Facebook Apps Powered by WP • Interesting Plugins/Themes in WP
  • 4. WordPress is MUCH More than website software
  • 5. WordPress is MUCH More than website software Scary isn’t it?!
  • 6. WordPress is MUCH More than website software Scary isn’t it?! Think Outside the Box! WordPress can be used for anything!
  • 7. If you are stuck in a box that’s an entirely different issue
  • 9. Core WordPress Features Content Management with custom types and taxonomies User accounts and roles Image, Media, and Gallery Support Link Management Easily extensible with plugins
  • 11. So What Did We Build? App to End World Hunger? App to solve a critical problem? App to provide a useful tool or service?
  • 12. So What Did We Build? Of Course Not! We Built: Location Based Pee Tracking
  • 13. Search “ipfree.ly” in the App store
  • 14. New users can register an account (in WordPress) Uses a modified XML-RPC
  • 15. Existing users can login (and remember me) Authenticates using WordPress
  • 16. Users can PLOT and add a simple description
  • 17. PLOT is saved and all existing plots are listed
  • 19. Geo data saved as meta data (custom fields) against the post Each PLOT is a post in WordPress
  • 20. Every post is listed in WordPress as normal
  • 21. Profile pages show user’s latest plots on a map http://ipfree.ly/brad
  • 22. Each “plot” is a post in WP with a unique permalink http://ipfree.ly/brad/empire-state-building/
  • 23. http://ipfree.ly/user - loads the author.php template http://ipfree.ly/user/postname - loads the single.php template Facebook like URLs in WordPress
  • 26.
  • 27. What is Auto Photobook? • Auto Photobook is photo analyzing software developed by HP Labs. • Photos are uploaded, analyzed to remove similar photos and group photos with the same people and contrasts together than automatically arranged them into a photo book that is converted to a .pdf file that can be printed or emailed to friends to print. • WDS - Make a Facebook application for Auto Photobook that users a person’s fb photos.
  • 28. Mother Falcon!!!! This isn’t WordPress!!!! Wait, Why Not?!?!?!? Sure it is…
  • 29. Auto Photobook: •Users > Books > Pages/Photos WordPress: •Users > Posts > Attachments/Photos http://apps.facebook.com/autophotobook/
  • 30. Benefits of using WordPress: Use all of the handy WP functions we are used to using in our day to day lives. • Use core WP elements like Comments, Categories & Tags • Use WP Plugins to extend functionality even further if need be ie: Post Rating, Caching and pretty much any other plugin that would work around a Post. • We created a Facebook WordPress theme that makes any WordPress website look and function like it belongs in Facebook as an App
  • 31. Facebook Application Meet Keith Milks (Ax Murderer) He received a request to join the Auto Photobook Facebook Application
  • 32.
  • 33. Extended Permissions http://developers.facebook.com/docs/authentication/permissions Can request a lot of permissions from access a user’s email address to reading their Facebook inbox to accessing all of a user’s friends birthdays.
  • 34. Add this user to WordPressWhen Keith allows permission to the app he gets added as a WordPress user and some of his Facebook data is saved as user meta in addition to his name. At this point we could save any of Keith’s Facebook data from his birthday to what movies he likes if we wanted to store it. A filter is applied to replace all WordPress avatars with their Facebook profile photo: add_filter('get_avatar','fb_get_avatar’); function fb_get_avatar($fb_id) { $avatar='<img src="https://graph.facebook.com/'.$fb_id. '/picture"/>'; return $avatar; } https://graph.facebook.com/any-fb-id/picture will return that users default profile photo
  • 36. Process Book • Creates a WordPress post with the book name as the title and the description as the content under the WP user Keith Milks. • Pushes up any FB photos selected to the Auto Photobook API. • Returns book information from Auto Photobook API and saves it in custom fields per the post. • Renders a flash editor with the finished book.
  • 37. Publish Book• Photobook is converted to a .PDF file. • Photobook pages are converted to individual images and stored as an attachment against the WordPress post. • Post changes from draft to published. • A Facebook wall post is made on the user’s Facebook wall. • If any of the user’s friends were Facebook tagged in any of the photos they used to make the book, wall posts will be made on their Facebook walls as well.
  • 39. Single.php Can do anything on this page as if it where a post page because it is. Any comments made will also trigger a Facebook wall post being made to the authors Facebook wall and the commenter's Facebook wall.
  • 40. All Books - Standard WordPress Loop
  • 41. Friends’ Book – FQL & WordPress Loop • Facebook Query Language is used to only return WP authors that are Facebook friends
  • 42. Edit Post Page in Backend • WordPress automatically provides a backend UI for managing any books created by any Facebook users
  • 43. Invite Friends Spread like a flesh eating virus!
  • 44. Make It Stop! #wcphilly after party
  • 49. Brad “The Butcher” Williams Brian “The Maniac” Messenlehner • Email: brad@webdevstudios.com • Twitter: @williamsba • Blog: strangework.com • Email: brian@webdevstudios.com • Twitter: @bmess Professional WordPress Plugin Development coming March 2011 Contact http://bit.ly/pro-wp