You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Bruno Borges (JIRA)" <ji...@apache.org> on 2009/11/24 00:05:53 UTC

[jira] Closed: (CAMEL-1520) Twitter Component to Consume and Publish Tweets

     [ https://issues.apache.org/activemq/browse/CAMEL-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Borges closed CAMEL-1520.
-------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.2.0)

After talking with Hadrian about the possibilities in the Social Network area, we found that it would be more interesting to have a more broad component.

So, what I'll develop is a Camel Social component. This component will work with different providers, because of all the different social networks that exist. Firstly, I'll implement the Twitter provider, and later on a Facebook provider.

1) Read status updates from user
2) Read status updates from friends
3) Read public updates
4) Publish an update

** The API must have ways to process common patterns, like @user or #trend, to identify other peers.

Hadrian, please give some thoughts as I don't remember of everything we discussed at ApacheCon. 
Also, is there a better place to keep this information, and an SVN repository for us to design this API?

Some examples of endpoints:

// following bruno's friends on twitter
from("social:foo?provider=twitter&user=bruno&pass=borges&type=friends").to("bean:tap");

// following bruno's posts on facebook
from("social:bar?provider=facebook&follow=bruno").to("bean:tap");

// following public timeline
from("social:google?provider=wave&follow=public").to("bean:tap");

// updating a user's status
from("direct:msgs").to("social:tweet?provider=twitter&user=bruno&pass=borges");

Behind the API the providers will be asked to implement some functions like "connections". This way the developer will be able to connect to friends of the user being followed.

I guess this is mostly what we've talked at ApacheCon, right Hadrian?

Please everyone interested in the development of this component, feel free to comment, and to talk with me about more ideas.

Best regards,
Bruno

> Twitter Component to Consume and Publish Tweets
> -----------------------------------------------
>
>                 Key: CAMEL-1520
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1520
>             Project: Apache Camel
>          Issue Type: New Feature
>         Environment: Any
>            Reporter: Bruno Borges
>            Assignee: Bruce Snyder
>         Attachments: camel-twitter.patch, camel-twitter.tar.bz2
>
>
> This is a camel-twitter component to consume and publish tweets within a route.
> The usage is something like :
> from("twitter:mypoint?user=foo&pass=bar").to("bean:logging");
> from("direct:apoint").to("twitter:publisher?user=foo&pass=bar");
> It is also possible to follow someone specific:
> from("twitter:consume?follow=someuser");
> It still need some documentation about all parameters.
> Also it would be great to have an automatic Type Converter.
> This component has a dependency to the Twitter4J API, which is a BSD-style license.  Is this a problem? If yes, is there anything that can be done in case the author does not want to change its license?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.