Twitter Integration

Discussion in 'Plugin Development' started by CoderJim, Jul 21, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    CoderJim

    @567legodude Yeah I know that but I cant figure out why the class cannot be found
     
  2. Offline

    Hawktasard

    @CoderJim
    Is there anything in the twitter package (when you open the jar with an archiver)? Also, the version you're using seems a little weird, try "4.0.4".
    edit: Maybe you have to use both twitter4j-core and twitter4j, check out http://mvnrepository.com/artifact/org.twitter4j
     
  3. Offline

    MCMatters

  4. Offline

    CoderJim

  5. Offline

    mythbusterma

  6. Offline

    CoderJim

    Last edited: Jul 28, 2015
  7. Offline

    timtower Administrator Administrator Moderator

  8. Offline

    CoderJim

  9. Offline

    mythbusterma

    @CoderJim

    That's not the entire file. I need the entire file.
     
  10. Offline

    Hawktasard

  11. Offline

    CoderJim

    @Hawktasard Im pretty sure that you only have to use the core for it to properly function, well thats what I've been told
     
  12. Offline

    Hawktasard

    @CoderJim
    Try it, I'm 72% sure it'll work.
     
  13. Offline

    CoderJim

    @Hawktasard How would I compile using both the core and the twitter4j, because I tried putting it in the pom and it just was underlined in red. (Sorry for stupid answers, im half asleep)
     
  14. Offline

    Hawktasard

    @CoderJim

    I'm pretty sure you can use twitter4j and twitter4j-core from the central repository (no need for another repo) both versions 4.0.4
    Code:php
    1. <dependency>
    2. <groupId>org.twitter4j</groupId>
    3. <artifactId>twitter4j-core</artifactId>
    4. <version>4.0.4</version>
    5. </dependency>

    something like that, you could copy paste this and replace twitter4j-core with twitter4j.
    no editor obviously, if this is wrong you should be able to figure it out.
     
  15. Offline

    BurnerDiamond

    Congrats, you are now are a hypocrite.
     
  16. Offline

    mythbusterma

    @BurnerDiamond

    I'm glad you felt the need to comment and further this discussion.

    I should have clarified in my first post that I was specifically talking about help with the Twitter API, which his post made it seem like.

    We are helping him with using Maven to build a plugin, which is in the scope of these forums.


    @CoderJim

    I didn't mean the .jar file. I meant the .java file.
     
  17. Offline

    CoderJim

  18. Offline

    CoderJim

  19. Offline

    mythbusterma

    @CoderJim

    I honestly have no clue why it isn't working.
     
  20. Offline

    CoderJim

  21. Offline

    CoderJim

    Bump, still not solved
     
  22. Offline

    CoderJim

  23. Offline

    CoderJim

  24. Offline

    Hawktasard

    @CoderJim
    What's the error? If it's still missing some classes you should really try adding twitter4j and the twitter4j-core as the class you're missing is *very* likely to be in one of them.
     
Thread Status:
Not open for further replies.

Share This Page