Thursday, November 5, 2009

Twitter API Library – Build 5

URI: http://sandbox.gtaero.net/twitter_api/code.php?b=5
(Preview Level Code)

Change Log:

  • Added
    string $twitter->get_sn_from_id(int
    $uid)
  • Added string $twitter->get_name_from_id(int
    $uid)
  • Added string $tw->profile_pic(
    [ int $uid = NULL [, array $options = NULL ] ] )
    Options:
    • bool linked = true – Link to the
      User’s Profile
    • string size = thumb
      (of small, thumb, large, or full) – Base Size of the Image
    • int
      height = Size’s Default – Height in Pixels
    • int
      width = Size’s Default – Width in Pixels

Known Issues:

  • No Support
    for Unauthenticated Requests.
  • $tw->name() does not support users other than the
    currently logged in user.
  • $tw->profile_pic() does not support users other than
    the currently logged in user.
  • $twitter->get_sn_from_id() does not support users
    other than the currently logged in user.
  • $twitter->get_name_from_id() does not
    support users other than the currently logged in user.

2 comments:

  1. Will this be eventually used in turled, seeing that it needs a major revamp?

    And
    sorry I haven't gotten a chance to test it for bugs, but if I have time this weekend I'll check it out!

    ReplyDelete
  2. It's very likely that this will be used in the beta version of turled.com when it's
    finished, as this code makes things a lot less complicated.

    ReplyDelete