Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Twitter module - now available to download


Reply


27 Posts   5867 Views

Avatar
michaelhmm

Community Member, 23 Posts

27 May 2010 at 12:03am

Edited: 09/06/2010 8:47pm

Twitter Module not working in 2.4:

in TwitterAPI.php replace the lines:

$conn = $twitter->connect('');
         
         $xml = @simplexml_load_string($conn);

With the following:

$response = $twitter->request('');
         
         $xml = $response->simplexml();

Explanation: the connect method is deprecated and will cause an error message, so the request method must be used instead, this returns a response object which already has a simple xml method.

Avatar
Garrett

Community Member, 245 Posts

11 November 2010 at 11:49am

Hey,

I made the code changes you indicated. Do you have this working in SS 2.4.*? My Twitter page shows nothing. 0's for everything. Any idea why?

Thanks,
Garrett

Avatar
michaelhmm

Community Member, 23 Posts

20 November 2010 at 12:35am

Edited: 20/11/2010 12:36am

Hi Garrett

I think this will be because Nivanka (originator and maintainer of the module) hasn't had time to change the module authentication to twitter's new OAuth requirement - see Hamish's post earlier in this thread.

Unfortunately he seems to have become so busy that he hasn't had time to do this.

Michael

Avatar
lerni

Community Member, 80 Posts

20 November 2010 at 3:33am

I recently used a asynchronous jQuery based solution for this. It fits perfectly for me.
[url]http://tweet.seaofclouds.com/[/url]

Avatar
biapar

Forum Moderator, 435 Posts

20 November 2010 at 8:03am

Good!

Avatar
biapar

Forum Moderator, 435 Posts

17 February 2011 at 3:29am

This module don't work with SS 2.4.5. I've error500 in backed when I made new Twitter Page.

Avatar
biapar

Forum Moderator, 435 Posts

18 February 2011 at 9:26pm

I don't find this in twitterAPI.php

$response = $twitter->request('');

$xml = $response->simplexml();

Avatar
biapar

Forum Moderator, 435 Posts

18 February 2011 at 10:43pm

I solved syntax problems, but don't work because Twitter don't support BasicAuth from 2010.
How solve?
Bye