Problems with the CI Twitter API Library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problems with the CI Twitter API Library (/showthread.php?tid=28579) Pages:
1
2
|
Problems with the CI Twitter API Library - El Forum - 03-15-2010 [eluser]Xarem Nightslayer[/eluser] Hi all I use the library of Elliot Haughig (http://www.haughin.com/code/twitter) and now I can't update my twitter status with this class My Code: Quote:$this->twitter->call('statuses/update', array('status' => "test-tweet")); reading the timeline or other requests aren't a problem but updating the status gives me back an error: Quote:Incorrect signature Can someone help me? I wrote an E-Mail to Elliot but he doesn't answer. Thank you Problems with the CI Twitter API Library - El Forum - 03-15-2010 [eluser]Phil Sturgeon[/eluser] The library is only one file. Why not open it up and see if you can find out where "Incorrect signature" is coming form? Ctrl + F + common sense = solution. Problems with the CI Twitter API Library - El Forum - 03-15-2010 [eluser]Xarem Nightslayer[/eluser] Its the Twitter API which send the error, not the class. but I dont know why. it must be a bug in the lib and I hope that anyone knows it. i searched a few hours. Problems with the CI Twitter API Library - El Forum - 03-17-2010 [eluser]Jeremy Gimbel - Conflux Group[/eluser] To update a status on Twitter, authentication is required. Elliot's library allows for both basic and OAuth authentication. Have you set up one of those methods in your application, or are you only calling that one method? If you look at the sample code on Elliot's site, you'll see an example of loading the library, authenticating and then making an update call. Problems with the CI Twitter API Library - El Forum - 03-17-2010 [eluser]Xarem Nightslayer[/eluser] hi! i authed the user using oauth, i can read the user timeline and the oauth session is stored the right way thank you Problems with the CI Twitter API Library - El Forum - 03-20-2010 [eluser][email protected][/eluser] Hi Guys, I'm trying to use the Elliot Haughig library but there is something that I don't get I want to run a search and return the result on a JSON format. My problem is that the result is return in an object . COuld you tell me how to convert it? If you have an example that could be great Thanks guys Problems with the CI Twitter API Library - El Forum - 03-20-2010 [eluser]Xarem Nightslayer[/eluser] [quote author="[email protected]" date="1269083470"] My problem is that the result is return in an object . COuld you tell me how to convert it? If you have an example that could be great [/quote] Hi I made you an example: Controller: Code: function search($q) View (showtimeline) Code: <?php Problems with the CI Twitter API Library - El Forum - 03-21-2010 [eluser][email protected][/eluser] Thanks!!! Problems with the CI Twitter API Library - El Forum - 04-10-2010 [eluser]ironlung[/eluser] [quote author="Phil Sturgeon" date="1268714154"]The library is only one file. Why not open it up and see if you can find out where "Incorrect signature" is coming form? Ctrl + F + common sense = solution.[/quote] Wow.... Problems with the CI Twitter API Library - El Forum - 06-21-2010 [eluser]Noor[/eluser] I had same problem when i try to develop on my local server. But when I moved to online server it's working well. |