I am building a CodeIgniter 2.1.3 application that uses the Twitter OAuth API for several functions. I have all my tokens for the Twitter API in a separate file, app_tokens.php, which is ignored by git. What function do I use to include this file in my Tweet class?
app_tokens.php:
<?php
$consumer_key = 'xxxxxxxxxxxxxxxxxxxxxx';
$consumer_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
$user_token = 'xxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx';
$user_secret = 'xxxxxxxxxxxxxxxxxxxx';
?>
Thanks!