Details

    • Type: New Artifact New Artifact
    • Status: Done Done
    • Priority: Minor Minor
    • Resolution: Bundle Added
    • Labels:
      None

      Description

      No need to explain the popularity of twitter. I'm going to start sandboxing SI twitter adapters in SESIA soon.

      http://yusuke.homeip.net/twitter4j/en/index.html seems to be what everybody is using. I glanced over the API and I'm not thrilled, but it sure beats doing it yourself. Might be a good idea to look for alternatives.

        Activity

        Hide
        Iwein Fuld added a comment -
        Manifest-Version: 1.0
        Bundle-Name: twitter4j
        Import-Package: com.sun.syndication.feed.synd; resolution:=optional,
         com.sun.syndication.io;resolution:=optional,
         javax.crypto;resolution:=optional,
         javax.crypto.spec;resolution:=optional,
         javax.xml.parsers;resolution:=optional,
         javax.xml.transform;resolution:=optional,
         javax.xml.transform.dom;resolution:=optional,
         javax.xml.transform.stream;resolution:=optional,
         junit.framework;resolution:=optional,
         junit.textui; resolution:=optional,
         org.slf4j; resolution:=optional,
         org.w3c.dom; resolution:=optional,
         org.xml.sax; resolution:=optional
        Bundle-ManifestVersion: 2
        Bundle-Vendor: Yusuke Yamamoto
        Main-Class: twitter4j.Version
        Bundle-SymbolicName: twitter4j
        Export-Package: twitter4j;version="2.0.8";
          uses:="junit.framework,
           org.w3c.dom,
           twitter4j.http,
           twitter4j.org.json",
         twitter4j.examples;version="2.0.8";uses:="com.sun.syndication.feed.synd,twitter4j",
         twitter4j.http;version="2.0.8";
          uses:="javax.crypto.spec,
           javax.xml.parsers,
           junit.framework,
           org.w3c.dom,
           twitter4j,
           twitter4j.org.json",
         twitter4j.org.json;version="2.0.8"
        Bundle-Version: 2.0.8
        

        Above manifest works for me, but I haven't spend much time to improve it.

        Twitter4j is released under the BSD license (IANAL).

        Show
        Iwein Fuld added a comment - Manifest-Version: 1.0 Bundle-Name: twitter4j Import-Package: com.sun.syndication.feed.synd; resolution:=optional, com.sun.syndication.io;resolution:=optional, javax.crypto;resolution:=optional, javax.crypto.spec;resolution:=optional, javax.xml.parsers;resolution:=optional, javax.xml.transform;resolution:=optional, javax.xml.transform.dom;resolution:=optional, javax.xml.transform.stream;resolution:=optional, junit.framework;resolution:=optional, junit.textui; resolution:=optional, org.slf4j; resolution:=optional, org.w3c.dom; resolution:=optional, org.xml.sax; resolution:=optional Bundle-ManifestVersion: 2 Bundle-Vendor: Yusuke Yamamoto Main- Class : twitter4j.Version Bundle-SymbolicName: twitter4j Export-Package: twitter4j;version= "2.0.8" ; uses:="junit.framework, org.w3c.dom, twitter4j.http, twitter4j.org.json", twitter4j.examples;version= "2.0.8" ;uses:= "com.sun.syndication.feed.synd,twitter4j" , twitter4j.http;version= "2.0.8" ; uses:="javax.crypto.spec, javax.xml.parsers, junit.framework, org.w3c.dom, twitter4j, twitter4j.org.json", twitter4j.org.json;version= "2.0.8" Bundle-Version: 2.0.8 Above manifest works for me, but I haven't spend much time to improve it. Twitter4j is released under the BSD license (IANAL).
        Hide
        Scott Andrews added a comment -

        published com.springsource.twitter4j 2.0.8

        Show
        Scott Andrews added a comment - published com.springsource.twitter4j 2.0.8
        Hide
        Iwein Fuld added a comment - - edited

        I tried this bundle, but unfortunately it doesn't work, it seems to me that the dependencies should be optional.

        Unsatisfied leaf constraints:
            Bundle: twitter4j_2.0.8 - Import-Package: com.sun.syndication.io; version="[0.9.0,1.0.0)"
              Did you mean: 'com.sun.mail.iap'?
            Bundle: twitter4j_2.0.8 - Import-Package: com.sun.syndication.feed.synd; version="[0.9.0,1.0.0)"
              Did you mean: 'com.sun.mail.smtp'?
        Show
        Iwein Fuld added a comment - - edited I tried this bundle, but unfortunately it doesn't work, it seems to me that the dependencies should be optional. Unsatisfied leaf constraints: Bundle: twitter4j_2.0.8 - Import-Package: com.sun.syndication.io; version= "[0.9.0,1.0.0)" Did you mean: 'com.sun.mail.iap'? Bundle: twitter4j_2.0.8 - Import-Package: com.sun.syndication.feed.synd; version= "[0.9.0,1.0.0)" Did you mean: 'com.sun.mail.smtp'?
        Hide
        Scott Andrews added a comment -

        You're right, according to the twitter4j site, there are no required dependencies. Shame on me for trusting the POM. The bundle has been republished with optional dependencies.

        Show
        Scott Andrews added a comment - You're right, according to the twitter4j site, there are no required dependencies. Shame on me for trusting the POM. The bundle has been republished with optional dependencies.
        Show
        Yusuke Yamamoto added a comment - Hi, The dependency issue has been resolved with Twitter4J 2.0.9. http://yusuke.homeip.net/jira/browse/TFJ-190 http://groups.google.com/group/twitter4j/browse_thread/thread/e23d2d816a9382e3 Please try it out. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/2.0.9/ Thanks, Yusuke

          People

          • Assignee:
            Scott Andrews
            Reporter:
            Andrei Stefan (c)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: