The component was developed using the nightly version of cake (http://
cakephp.org/downloads/index/nightly). With that version of cake the
component should work as it works for me and a couple of other users
that reported the same problem to me via mail.

I updated the component to the latest specs of the twitter api. You
can download it form bakery or you can clone it from its git
repository on gitorious with
git clone git://gitorious.org/cakephp-twitter-cpomponent/mainline.git



On Jun 3, 9:09 pm, Manu0310 <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I was reading your post about not being able to use functions in the
> twitter component that require authentication.
>
> I am having the same problem and I was wondering how you solved it?
>
> I am trying to get the replies for my twitter account by using this:
> $replies = $this->Twitter->status_replies();
>
> Every time I try to pull these replies I get a the following response
> "XML file Could not authenticate you. does not exist 0 0"
>
> I am sure it's an authentication problem, because I can pull the
> public timeline etc.
>
> Any help would be appreciated ! Thanks!
>
> On Apr 16, 5:01 pm, mmayes <[EMAIL PROTECTED]> wrote:> Hey, thanks for the 
> response!
>
> > Basically, I've copied your component class, set my login info, and
> > can pull non authenticated stuff out no problem, but when I just try
> > to do something like this in my controller:
>
> > $test = $this->Twitter->user_show('username');
> > $this->set('test', $test);
>
> > My view prints out an empty array as $test, along with the XML error
> > above. It's gotta be an authentication problem, and I think if I could
> > just have a clear example of a working instance, that'd do it.
> > Unfortunately, I have no idea how to use git. Do you think you could
> > provide me with some text?
>
> > Cheers,
> > Matt
>
> > On Apr 16, 12:33 pm, strangy <[EMAIL PROTECTED]> wrote:
>
> > > Hello,
> > > I wrote the twitter component and I tested most of the functions and
> > > they worked in my tests.
> > > During development I had problems with authentication because in the
> > > __getAuthHeader function I've used method => 'basic' instead
> > > of method => 'Basic'. After I fixed that authentication worked.
>
> > > Today I found one bug in the user_show function. The url had one space
> > > at the beginning.
> > > You can fetch the code by cloning the git repository. The repository
> > > url is git://gitorious.org/cakephp-twitter-cpomponent/mainline.git
>
> > > I've  never got the error you are reporting.
> > > Can you provide some more info about the error. Maybe you are missing
> > > something.
>
> > > You can see how I use the component in the code of my new blog that
> > > will replace my rails one that is online now.
> > > The code is also on gitorious and you can clone it form
> > > git://gitorious.org/munitic-com-hr/mainline.git
>
> > > P.S.
> > > You will not be able to run the blog app because there are some files
> > > missing like database.php that I didn't include for obvious reasons :)
>
> > > Enjoy!
> > > On Apr 16, 6:48 pm, mmayes <[EMAIL PROTECTED]> wrote:
>
> > > > Hi all,
>
> > > > I've been trying to get the Twitter component working under Cake 1.2
> > > > beta. Whenever I attempt a request that requires authentication, I get
> > > > the error:
>
> > > > Notice (1024): XML cannot be read [CORE/cake/libs/xml.php, line 748]
>
> > > > My username and password are set correctly, and when I access the xml
> > > > page and enter them into the HTTP challenge, it works. But I cannot
> > > > get the component to work other than with methods that do not require
> > > > authentication.
>
> > > > Anybody have any tips? The component I'm referring to it 
> > > > here:http://bakery.cakephp.org/articles/view/twitter-component
>
> > > > Cheers,
> > > > Matt
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to