Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Join Date
    Oct 2006
    Location
    West Midlands
    Posts
    463
    Tokens
    2,175

    Latest Awards:

    Default Twitter / iTweet.net

    Hi.

    Well I've been looking on the Internet for a long time now and at the Twitter API. I'm trying to create a website like iTweet.net that will allow *anyone* to sign in with their Twitter ID and basically use twitter but through a different website if that makes sense, like; @replies, direct messages, status updates etc...

    But I haven't been able to find a way yet. I'm wondering if anyone can help me out but some of you may just say look at the API and stuff, but I don't quite know what I'm looking for as I haven't really done this before, and I dunno it might be a big thing to do for a "first timer" but my School has filtered Twitter, and now have filtered iTweet, I want to create my own site with different features on so teachers won't realise. (like those proxys that some people have created) so we can carry on Tweeting

    Thanks
    Always lurking around, never really post.

  2. #2
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    The twitter api has a few limitations though...

    The default rate limit for calls to the REST API is 150 requests per hour. The REST API does account- and IP-based rate limiting. Authenticated API calls are charged to the authenticating user's limit while unauthenticated API calls are deducted from the calling IP address' allotment.

  3. #3
    Join Date
    Oct 2006
    Location
    West Midlands
    Posts
    463
    Tokens
    2,175

    Latest Awards:

    Default

    Thanks, just wondering how iTweet do it now. That's all
    Always lurking around, never really post.

  4. #4
    Join Date
    Jul 2007
    Location
    Scotland
    Posts
    529
    Tokens
    0

    Default

    That's fine though as long as you don't update your twitter every 24 seconds?
    Anyway, I would do it by using OAuth to sign in and then simply calling an OAuth object to (I think) http://twitter.com/statuses/update.xml and post that along with an array (I think it's like message => 'updating twitter').

    I personally use the OAuth class that's linked to on the official twitter API page. If you want I can try showing you a bit more in detail but not right now as I have some work to finish up.

    But simply:

    authorize via OAuth -> set tokens etc -> call on the TwitterOAuth class using tokens -> use function in the class and post to update page

  5. #5
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Only problem is, and this isnt a subject I have looked into, so enlighten me, but wouldnt it be possible to change someone else's twitter? =D Enlighten away?!

  6. #6
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    What you will want to do is, download the Twitter API and then use cURL to connect to their server. Use XML to grab all the information you want and then let them reply.
    Back for a while.

  7. #7
    Join Date
    Jul 2007
    Location
    Scotland
    Posts
    529
    Tokens
    0

    Default

    Quote Originally Posted by Excellent2 View Post
    What you will want to do is, download the Twitter API and then use cURL to connect to their server. Use XML to grab all the information you want and then let them reply.
    Nah, because although Basic Auth is not being phased out yet it will happen eventually. OAuth is the way forward!

  8. #8
    Join Date
    Oct 2006
    Location
    West Midlands
    Posts
    463
    Tokens
    2,175

    Latest Awards:

    Default

    Quote Originally Posted by RichardKnox View Post
    That's fine though as long as you don't update your twitter every 24 seconds?
    Anyway, I would do it by using OAuth to sign in and then simply calling an OAuth object to (I think) http://twitter.com/statuses/update.xml and post that along with an array (I think it's like message => 'updating twitter').

    I personally use the OAuth class that's linked to on the official twitter API page. If you want I can try showing you a bit more in detail but not right now as I have some work to finish up.

    But simply:

    authorize via OAuth -> set tokens etc -> call on the TwitterOAuth class using tokens -> use function in the class and post to update page
    I have read about OAuth but I haven't read too much in to it.

    Quote Originally Posted by Excellent2 View Post
    What you will want to do is, download the Twitter API and then use cURL to connect to their server. Use XML to grab all the information you want and then let them reply.
    When you say download the Twitter API? Is that the "Libraries"

    I'm new at this sort of stuff, so yeah sorry if I dont get anything straight away.
    Always lurking around, never really post.

  9. #9
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    Quote Originally Posted by RichardKnox View Post
    That's fine though as long as you don't update your twitter every 24 seconds?
    Anyway, I would do it by using OAuth to sign in and then simply calling an OAuth object to (I think) http://twitter.com/statuses/update.xml and post that along with an array (I think it's like message => 'updating twitter').

    I personally use the OAuth class that's linked to on the official twitter API page. If you want I can try showing you a bit more in detail but not right now as I have some work to finish up.

    But simply:

    authorize via OAuth -> set tokens etc -> call on the TwitterOAuth class using tokens -> use function in the class and post to update page
    I think I see a flaw in this method. Wouldn't using OAuth take users to the twitter.com/oauth/blabla first? So it wouldn't work, as twitter is filtered at his school.

  10. #10
    Join Date
    Oct 2006
    Location
    West Midlands
    Posts
    463
    Tokens
    2,175

    Latest Awards:

    Default

    Oh yeah, I forgot about that.
    Because it takes you to the twitter page in order to click allow or deny.
    Always lurking around, never really post.

Page 1 of 3 123 LastLast

Posting Permissions

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