News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Creating a Photo Tag Wall With Twilio Picture Messaging & PHP
January 10, 2014 @ 10:36:00

On NetTuts.com today there's a new tutorial that helps you create a "photo tag wall" using the Twilio picture messaging functionality and some PHP. The picture messaging service lets you send and receive photos over phone numbers and short codes.

Twilio's recently announced Picture Messaging has vastly opened up what we can do with text messaging, now we can attach photos to our text messages and have them get used in different ways. In our case, we are going to build a Photo Tag Wall, which will contain photos linked to tags that will be displayed on a website. This can be handy for events, or parties, or just about anything where you want to associate photos and tags.

They use a combination of the Jolt microframework for the structure of the app, Idiorm/Paris for the MySQL handling and the Twilio PHP library to talk to their web service. They start by setting up the database tables for both the "tag" and "photo" (SQL included). They include a sample configuration file, used by the Twilio library, and get into the actual code. The first part shows how to make the request to the API and resize the fetched data into a correctly sized photo on the server. Then they get into the routing, making both a root path and a "listener" for the Twilio API to call when a new photo it sent. Finally, they set up the actual photo wall page, pulling the image data from the database and the image from the local file system.

0 comments voice your opinion now!
photo tag wall tutorial twilio picture messaging mysql

Link: http://net.tutsplus.com/tutorials/php/creating-a-photo-tag-wall-with-twilio-picture-messaging-php

blog comments powered by Disqus

Similar Posts

Danne Lundqvist's Blog: Adding support for MS SQL Server to PHP in Linux

DevShed: Building a More Capable Validation Helper Class

SitePoint PHP Blog: 3 Ways to Develop Cross Platform Desktop Apps with PHP

Maarten Balliauw's Blog: Saving a PHPExcel spreadsheet to Google Documents

DevShed: Building an ORM in PHP


Community Events





Don't see your event here?
Let us know!


community list release interview composer podcast conference opinion library series version voicesoftheelephpant language introduction symfony framework artisanfiles tool security laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework