Hi,
My company will provide payment for the creation of a submodule which utilizes both the Twitter module and the Juitter module to display all the Tweets of the current (logged-in) Drupal user's Twitter friends* in a block.
[*Friends = Twitter users that you are following.]
The Twitter API for acquiring the ids of a Twitter user's friends is here: http://dev.twitter.com/doc/get/friends/ids
Ideally, all we need for a site we're working on is a way to display the Tweets using Juitter (drupal.org/project/juitter). So the Twitter module would be used to acquire the Twitter id of the current user (and of course authenticate the connection to their Twitter account). From there it should be possible to pull the user ids of that user's friends on Twitter and then display them using Juitter. We don't really want to store an entry for each Tweet from every friend a user has - this would be overkill - so using a jquery solution such as Juitter is ideal.
I imagine that to print the tweets of the user's Twitter friends the following use of the Juitter script should suffice:
<?php
$ids= $friends->ids;
drupal_add_js('sites/all/modules/juitter/js/jquery.juitter.js','module');
drupal_add_js('sites/all/modules/juitter/js/system.js','module');
drupal_add_css('sites/all/modules/juitter/css/juitter.css','module');
drupal_add_js('
$(document).ready(function() {
$.Juitter.start({
searchType:"searchobject",
searchObject:" . $ids . ",
live:"live-5",
total:"5"
});
});
','inline');
?>
<div id="juitterContainer"></div>I'm not a good Drupal module programmer so your help would be really to come up with the glue to pull the Twitter ids of the current Drupal user using the Twitter module and Twitter API.
Please contact me if you are interested.
Best,
Thomas
Comments
Are you still going to pay it?
Are you still going to pay it?
I'm thinking about a module for Drupal 7.
Anything happen with this?
I'm looking into this has anyone done any preliminary research?
web Kreator