Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7022

Enabled to use another Twitter Clone site. (Like StatusNet)

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • twitter-plugin
    • None

      I hope to use not Twitter itself but some other Twitter Clone which is running via StatusNet.
      Because our member use private StatusNet service (for Staff Only) to communicate.
      It seems this plugin depends on twitter4j, so whether we can change API ROOT (Twitter API ROOT URL) or not.

          [JENKINS-7022] Enabled to use another Twitter Clone site. (Like StatusNet)

          ashlux added a comment - - edited

          It doesn't look like Twitter4j supports this.

          A dirty, fragile solution would be to use reflection to change the URLs from api.twitter.com to some arbitrary URL. Perhaps just have to change the the private strings in this class? http://github.com/yusuke/twitter4j/blob/f0299deabfe7fc79484aceb357a18a5a00e2e918/twitter4j-core/src/main/java/twitter4j/conf/ConfigurationBase.java

          Someone should probably submit a feature request to Twitter4j about this.

          ashlux added a comment - - edited It doesn't look like Twitter4j supports this. A dirty, fragile solution would be to use reflection to change the URLs from api.twitter.com to some arbitrary URL. Perhaps just have to change the the private strings in this class? http://github.com/yusuke/twitter4j/blob/f0299deabfe7fc79484aceb357a18a5a00e2e918/twitter4j-core/src/main/java/twitter4j/conf/ConfigurationBase.java Someone should probably submit a feature request to Twitter4j about this.

            justinedelson justinedelson
            akiko_pusu akiko_pusu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: