[infrastructure] Twitter Auto-follow
Ean Schuessler
ean at brainfood.com
Mon Oct 5 10:52:52 CDT 2009
----- "Isaac Christoffersen" wrote:
>
> I did some prototyping this weekend and I'm leaning toward a cron solution with a ruby script. I looked briefly into the first approach but since learning the innards of OFBiz is a prerequisite, it'll take a little more time than is probably needed to implement the twitter piece. I also looked briefly into the Identi.ca APIs and, not surprisingly, they are similar enough to twitter so that the implementation can most likely be applied for both. Database access won't be needed unless we want to do some correlation of followers compared to OSFA members.
>
> As I understand it, these are the following scenarios:
>
> - Have @OpenSourceGov follow its followers.
> Auto following someone that follows you is a straight forward process. The script will need to use either an OAuth ID or the login for the @OpenSourceGov Twitter account. OAuth is preferred as using the login information for twitter apps is being phased out.
Not sure whether we should auto-follow everyone who follows us or just people who sign up.
> - Have @OpenSourceGov follow its members
> This is a little more difficult. Unless the users provide their screen names, there is no real accurate way to match individuals to their accounts. Unfortunately, for this exercise, email addresses are not part of the public interface so we'd be guessing if the John Smith in Virginia is the member we want to follow.
Yes, I understand. We could add a twitter account field to the user profile without too much trouble.
> - Have @OpenSourceGov follow those that re-tweet or reference itself.
> This is doable. It will mean periodically searching the timeline.
Ok.
> Does this sound correct? If so, I can wrap up the twitter portion of the script for the first and third option next weekend. Unfortunately, sooner is not an option as I've got some project deadlines to meet.
This sounds good. I'm excited to see where you go with it.
--
Ean Schuessler, CTO Brainfood.com
ean at brainfood.com - http://www.brainfood.com - 214-720-0700 x 315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensourceforamerica.org/archives/infrastructure/attachments/20091005/dd38c14d/attachment.htm>
More information about the infrastructure
mailing list