Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CuteOn.Me is a proof-of-concept app to solicit shopping advice from your friends. It demonstrates how provides powerful turnkey solutions for your application to harness sharing data.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


A simple web application that uses the APIs to get quick advice from your friends.

Try it out at http://CuteOn.Me

Read more about how it works

Or just go take a look at the code. The live site uses the performance branch, which has additional logic for features like the Google Chrome extension, item previews, and asynchronous Twitter friend lists. As these features complicate the code, we recommend reviewing the master branch first.

Code Guide

The application uses Twitter to identify you as a user and requires that you grant our CuteOn.Me Twitter application access to send direct messages to your friends. If you are going to dive into the code, you should examine the code in the following order:

  1. signin.php
    • presents a link to begin authenticating with Twitter
  2. signin-redirect.php
    • begins the OAuth flow and redirects you to Twitter to authenticate
  3. index.php
    • where you are redirected after authenticating
    • presents a view of shared URLs and what people voted
  4. signed-in-check.php
    • included in shares.php to complete the OAuth flow and fetch your access tokens
  5. share.php
    • a form to share a URL to your friends
  6. share-submit.php
    • the logic for creating shares and sending the direct messages
  7. opinion.php
    • presents a friend with a URL and a place to vote



  • ubuntu


Install required packages

apt-get install php5 php5-curl apache2 git-core

Download the repo

git clone cuteonme

Update the submodules

cd cuteonme
git submodule init
git submodule update
cd ..

Copy the application to apache's directory

rsync -r --delete cuteonme/code/ /var/www/cuteonme

Update the apache configuration

cp cuteonme/setup/cuteonme-apache-config /etc/apache2/sites-available/cuteonme
a2dissite default
a2ensite cuteonme
apache2ctl restart

Setup PHP logging

# add logging to the apache config
vi /etc/php5/apache2/php.ini
    # add: error_log = /var/log/php/error.log 
# create a directory to log to
mkdir /var/log/php
chmod 777 /var/log/php/

Set as a valid hostname

vi /etc/hosts
    # add:

Test your installation

# response should be: "Installation successful!"

Try out the app http://CuteOn.Me

Something went wrong with that request. Please try again.