> > I have downloaded and installed your files. In which file on which > line should I paste the code: > > function getConnectionWithAccessToken($oauth_token, $oauth_token_secret) { > $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, > $oauth_token, $oauth_token_secret); > return $connection; > } > > $connection = getConnectionWithAccessToken("abcdefg", "hijklmnop"); > $content = $connection->get("statuses/home_timeline"); > >
More questions (after I understand this php example I'll move along to Scott Desapio's Classic ASP version): 1. I pasted the code above on line 112 of test.php. 2. I commented out the original line 113: ----- /*twitteroauth_row('statuses/home_timeline', $connection->get('statuses/home_timeline'), $connection->http_code); 3. I commented out the following line ----- /*$connection = getConnectionWithAccessToken("abcdefg", "hijklmnop"); 4. Pasted a copy of above line and guessed to replace the example strings with the following??? ------ $connection = getConnectionWithAccessToken($oauth_token, $oauth_token_secret); OK, having done that, what is the next step for posting a status update? I need to ask lots of really stupid questions, sorry. Lil