Line 76 in Matt's library is the first line after the class
constructor, so  my guess is that the array you passed to the tmhOAuth
class to create an OAuth connection is incorrectly constructed. I
tested the example code and it works fine, so the issue isn't there or
Matt's library. Send a copy of the program you are using to post the
tweet directly to me at 140...@gmail.com, and we can debug this off
the list. It's probably a simple error.

On Tue, Nov 23, 2010 at 12:33 PM, nicarcola <n...@meerijden.nu> wrote:
> Thanks. But after all the instruction I did a test and get the
> following message: Posting...
> Parse error: syntax error, unexpected T_STRING, expecting
> T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/ondernemers.nu/
> public_html/meerijden.nu/tmhoauth/tmhOAuth.php on line 76
>
> Till now i couldn't find what is wrong. Maybe you have any
> suggestions.
>
> Regards, Nico.
>
> On 22 nov, 15:20, Adam Green <140...@gmail.com> wrote:
>> If you are willing to run a PHP script from your website, this
>> tutorial will give you all the details you need to tweet to your
>> account from a 
>> website:http://140dev.com/twitter-api-programming-tutorials/hello-twitter-oau...
>>
>> On Mon, Nov 22, 2010 at 9:17 AM, nicarcola <n...@meerijden.nu> wrote:
>> > How can I automaticly log into my own twitter account (e.g. from my
>> > own website) and send a tweet to it?
>>
>> > --
>> > Twitter developer documentation and resources:http://dev.twitter.com/doc
>> > API updates via Twitter:http://twitter.com/twitterapi
>> > Issues/Enhancements 
>> > Tracker:http://code.google.com/p/twitter-api/issues/list
>> > Change your membership to this 
>> > group:http://groups.google.com/group/twitter-development-talk
>>
>> --
>> Adam Green
>> Twitter API Consultant and Trainerhttp://140dev.com
>> @140dev
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group: 
> http://groups.google.com/group/twitter-development-talk
>



-- 
Adam Green
Twitter API Consultant and Trainer
http://140dev.com
@140dev

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to