Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter-Twitter Library

[eluser]Phil Sturgeon[/eluser]
Seems to be an issue selecting user_timeline('', 5). Not only was it adding a & to the end of the string which seemed to break the feed (I have a patch on my localbox for that one) but it seems to fetch the XML and still return false.

Are you able to get X number of your own tweets?

This works fine:

$data['details'] = $this->twitter->user_timeline('',2);

But not this:

$data['details'] = $this->twitter->user_timeline('',1);

Why do I need to call the library TwitIgniter?


[eluser]Phil Sturgeon[/eluser]
Mainly because it would be pretty funny :-P

This still isn't working for me. I cant seem to find where it is going wrong as it returns all the XML it needs, it just seems to return false on the _fetch();

Will look into this again as I have forgotten the results of my last debug.

If I try this it says "Unknown functin curl_init()".

I ran into this before I think, curl needs to be installed seperatly, right?
It's not part of the standard php package, is it?

[eluser]Phil Sturgeon[/eluser]
Thats right. If you are using apt-get or yum you can just install the packages "libcurl" and "php-curl" to get that working.

Yeah, ok..that would work on my local machine, but not on actual website...guess I will have to ask the hoster for that one...

Thx anyways

[eluser]Mikey McCorry[/eluser]
Just wanted to say thanks very much simonmaddox, this is going to come in VERY handy. Any plans to incorporate Twitter's OAuth API?

Cheers, I started writing my own but this will save me some time Smile

[eluser]Bluemill Media[/eluser]
I'd love to see OAuth integration. Seems more and more people are reluctant to give their password out now that OAuth is available.

Cheers! Smile

[eluser]Phil Sturgeon[/eluser]
Shouldn't be too difficult to use this code as a basis. Would require the OAuth to be converted to a library and then the twitterOAuth.php code could be integrated with the existing library.

Really dont have the time what with PyroCMS and Rest Server coming along so well, but it would be great to see this done.

Theme © iAndrew 2016 - Forum software by © MyBB