Skip to content

Installation: Local Computer

ginatrapani edited this page Sep 13, 2010 · 9 revisions

ThinkTank works best on a public web server, but it’s best not to develop on or expose alpha code to the public web.

The Problem: Public Authorization URLs

The Twitter plugin requires a public URL to OAuth-authorize your ThinkTank installation. If you’re installing ThinkTank on a local computer that’s behind a firewall, your ThinkTank callback URL won’t work because it’s not reachable on a public web server.

The Workaround Solution: Redirect from a Public Page

A page on your public web server can redirect Twitter’s OAuth token. If you’ve got a local ThinkTank installation, save this one page on your public web server and edit it to redirect to your local instance.

<?php
header( 'Location: http://localhost:8888/thinktank/account/oauth.php?oauth_token='.$_GET['oauth_token'] ) ;
// http://localhost:8888/thinktank is the URL to access thinktank on your local server.
?>

Relevant mailing list thread

Clone this wiki locally