Well I got that part figured out, but I'm still a little confused. I now have my app successfully requesting an request token and generating the proper authorize link, but I'm a little confused about what to do on hte callback. What is that oauth token in hte query string. Is that the request token again? The getAccessToken function in hte library confuses me because it looks like it takes the $token parameter and then doesn't use it? How does the request token come into play when requesting an access token? I'm still a little confused on hte whole process. I'm making progress though. I'm trying to rewrite your example to make it a little more readable with the intent of posting it here or elsewhere when I get it working. Thanks for all your help. ----- Original Message ----- From: Abraham Williams To: [email protected] Sent: Saturday, March 21, 2009 1:23 PM Subject: [twitter-dev] Re: using the twitteroauth library in php
Chris: Sounds like a syntax error. Do you mind posting the line that mentioned in the error and the line before it from the code? On Sat, Mar 21, 2009 at 11:50, Chad Etzel <[email protected]> wrote: I would take a look at Abe's excellent twitter oauth/php library and example. http://twitter.abrah.am/ Works great in my experience, so I would compare your code to his and see what's up. -Chad On Sat, Mar 21, 2009 at 12:42 PM, Chris Westbrook <[email protected]> wrote: > I am trying to use the twittteroauth library for php, but I keep getting a > syntax error unexpected t_variable when I try to use the object I created. > I know this isn't a php list, but is anyone else having this problem? I > tried posting on hte general php mailing list and haven't found the help I > need yet. -- Abraham Williams | http://the.hackerconundrum.com Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from: Madison Wisconsin United States.
