geniestreiche Posted July 27, 2012 Share Posted July 27, 2012 hey folks, i tried out the twittermarkupfeed-module and it works well so far. thanks ryan i use this url http://search.twitter.com/search.rss?q=%23schrenz1000%20OR%20from:Schrenz1000 for my feed. the problem is that it doesn't shows tweets with a link inside. is there any limitations by twitter? but when i create a tweet on the twitter website and include an image then it works with the link to the image. i thought ryan used the module on the processwire page and some of the tweets have links to forum posts for example. greetings Link to comment Share on other sites More sharing options...
ryan Posted July 27, 2012 Share Posted July 27, 2012 It looks to me like that may be a different kind of feed than what the MarkupTwitterFeed module was designed to use. This particular feed is putting HTML inside of RSS, whereas the Twitter Feeds I've worked with were consistent with the text of the actual tweets (no HTML added to them). I would guess that the tweets with links are failing because of the extra HTML added to the links. I am also guessing that this particular RSS feed was designed for a front-end AJAX search function. Maybe there is a GET variable that can be specified to have them turn off the HTML they are adding to it? If not, it might be better not to use this particular feed, since it doesn't seems to be setup for another purpose. One other thing you could try would be to specify "false" for the linkUrls option to the module: $t = $modules->get('MarkupTwitterFeed'); $t->linkUrls = false; Link to comment Share on other sites More sharing options...
apeisa Posted October 15, 2012 Share Posted October 15, 2012 Twitter made interesting change on their API and disallows to read public timelines without authentication: https://dev.twitter.com/discussions/10803 This means that processwire.com frontpage (and many other sites as well, I assume) shows error currently: MarkupTwitterFeed: Unable to load http://twitter.com/statuses/user_timeline/208130540.rss?count=2 Best part is that there is (as far as I understood) no way to build simple "show my tweets" modules without server side authentication. From the comments: You can't authenticate with the 1.1 API in pure client-side Javascript -- that's why you can't find any examples of this. If you want to simply embed a user timeline on your page, it's best to either use our Embedded Timelines widget or build a server-side integration. And as we know, those embedded widgets sucks :/ Link to comment Share on other sites More sharing options...
ryan Posted October 15, 2012 Share Posted October 15, 2012 Wow that really sucks of them to do that. Kind of takes Twitter out of the web site integration picture doesn't it? Seems like a major branding loss for them, as people will migrate to other solutions to do the same thing. That is, unless this server-side authentication is feasible... I have no idea what's involved there, but glad to implement it for this module if it's not a major hurdle. Anyone worked with this before? Link to comment Share on other sites More sharing options...
diogo Posted October 15, 2012 Share Posted October 15, 2012 These are the libraries recommended by twitter. Apparently there is also a zend service that it's not there. Seems pretty simple to implement. At least I used the service for youtube, and it was: $twitter = new Zend_Service_Twitter(array( 'username' => 'johndoe', 'accessToken' => $token )); $response = $twitter->status->userTimeline(); 1 Link to comment Share on other sites More sharing options...
ryan Posted October 16, 2012 Share Posted October 16, 2012 Anyone interested in working on this module (or starting a new one)? Looks like it's going to have to start from scratch, or at least close to it. @diogo Regarding Zend_Service_Twitter, is this the sort of thing that requires installing the whole Zend framework, or can the class function without too many dependencies? Link to comment Share on other sites More sharing options...
apeisa Posted October 16, 2012 Share Posted October 16, 2012 It seems this url works for at least march 2013: https://api.twitter.com/1/statuses/user_timeline.json?screen_name=apeisa But I didn't read enough to know what happens then... 1 Link to comment Share on other sites More sharing options...
ryan Posted October 16, 2012 Share Posted October 16, 2012 Good to know there is still an RSS available. But if it's only for a few months, it's probably not the long term solution we need for this module (though great that it buys us some time). Is Twitter going out of business or something? Just wondering why they are closing things down. It seems unusual because the natural result of this change will be for people to create their "tweets" elsewhere… relegating Twitter to be a carbon copier rather than a source. Obsoletion. The last version of my "oneliner" software (for Wildcat BBS) came out in 1993. Now thinking I need to make a new version for ProcessWire. Link to comment Share on other sites More sharing options...
diogo Posted October 18, 2012 Share Posted October 18, 2012 Ryan, for youtube I only had to download teh zend gdata folder and only had to use the youtube part and the AuthSub.php file for the authentication. I imagine that it's the same thing with twitter. 1 Link to comment Share on other sites More sharing options...
jacmaes Posted October 31, 2012 Share Posted October 31, 2012 This php code to retrieve your latest tweets has been updated to use RSS, and it still works for me: http://f6design.com/journal/2010/10/07/display-recent-twitter-tweets-using-php/ This might be useful for those who want to update the module. Link to comment Share on other sites More sharing options...
ryan Posted November 2, 2012 Share Posted November 2, 2012 It looks like Twitter must have re-enabled the RSS feed? I've noticed the client site installations where I was using MarkupTwitterFeed have started working again. Link to comment Share on other sites More sharing options...
thijs Posted June 12, 2013 Share Posted June 12, 2013 And as of today Twitter has killed the old API. When using the module you’ll now get the ‘MarkupTwitterFeed: Unable to load’ error. Link to comment Share on other sites More sharing options...
opalepatrick Posted June 12, 2013 Share Posted June 12, 2013 Is this going to have to be rebuilt maybe? Beyond my skills at the moment Link to comment Share on other sites More sharing options...
ryan Posted June 12, 2013 Share Posted June 12, 2013 This module is now updated to use the new Twitter API: https://github.com/ryancramerdesign/MarkupTwitterFeed Be sure to read the install/upgrade instructions. Also note that the module now requires PHP 5.3. 2 Link to comment Share on other sites More sharing options...
opalepatrick Posted June 12, 2013 Share Posted June 12, 2013 Thanks Ryan, that was super quick! Link to comment Share on other sites More sharing options...
thijs Posted June 12, 2013 Share Posted June 12, 2013 Like magic, that was super quick indeed, thank you Ryan! Link to comment Share on other sites More sharing options...
Soma Posted June 13, 2013 Share Posted June 13, 2013 Moved thread out of module board. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now