Results 1 to 4 of 4
  1. #1
    ayansinha007 is offline Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    Default twitter_grabber.

    Hi All,
    I am having a problem,can anyone fix this or may be build a code for me in Java, by using followers and followings methods to fetch tweets from respective followers and followings by using twitter API methods.And also with their respective user name and password.

    Regards,

    AYAN.

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    have you read their API documentation?
    freedom exists in the world of ideas

  3. #3
    ayansinha007 is offline Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    Default twitter_Grabber

    Hi, Sukatoa
    Thanks for responding and yes i've seen there API but still am not be able to figure out the simple code for Java if could hepl me in write it down for me then it be very kind of you as am doing my project on this.

    Thanks and Regards,

    AYAN.

  4. #4
    ayansinha007 is offline Member
    Join Date
    Mar 2010
    Posts
    3
    Rep Power
    0

    Question twitter_Grabber

    hi all,

    Can any one tell me where am i going wrong or any one can build this simple code in
    Java for me.I know i am going wrong somewhere but where, i can't find it so if anybody can find it please do the needful coding for me.

    Thanks and Regards,

    AYAN.





    import twitter4j.IDs;
    import twitter4j.Twitter;
    import twitter4j.TwitterException;


    public class Grabber
    {

    public static void main(String[] args) throws TwitterException
    {
    Grabber grabber=new Grabber();//login



    String username = user;
    System.out.println("user : "+username);

    grabber.getAuthorization();

    int arg0=0;

    int arg1 = 0;

    System.out.println("Followers"+grabber.getFollower sIDs());


    IDs ids=grabber.getFollowersIDs();

    int int_ids[]=ids.getIDs();

    for(int x=0;x<int_ids.length;x++)
    {

    System.out.println("User ID "+x);

    }

    System.out.println("Followings"+grabber.getFriends IDs());
    }

    private IDs getFollowersIDs()
    {
    return null;
    }

    private String getFriendsIDs()
    {
    return null;
    }

    private void getAuthorization()
    {


    }

    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •