Feature Requests (3 Viewers)

yoavain

Extension Dev
  • Premium Supporter
  • May 24, 2009
    427
    467
    47
    Home Country
    Israel Israel
    Hi yoavain, is this something universal or documented? Even tho it seems like a good thing to do, personally I wouldn't like IF:

    - half of profile images will be missing after the change - has to be tested on large sample
    - twitter changes this in the future and all profile images are missing - if it's undocumented feature, change can be made without any announcements

    But perhaps I'm just too worried about a small change like this ;) But would still like to hear edsche's comments.

    Hmm, I see your point.

    Here's what I found in Twitter API documentation:
    GET users/profile_image/:screen_name | dev.twitter.com

    According to that, you can use the following options (for example, with the user "teammediaportal")
    http://api.twitter.com/1/users/profile_image/teammediaportal.xml
    http://api.twitter.com/1/users/profile_image/teammediaportal.xml?size=normal
    http://api.twitter.com/1/users/profile_image/teammediaportal.xml?size=bigger
    http://api.twitter.com/1/users/profile_image/teammediaportal.xml?size=mini

    And here's the one they do not document:
    http://api.twitter.com/1/users/profile_image/teammediaportal.xml?size=original

    IMO, the one they don't document is still valid, since anything else gives back:
    HTML:
    <errors>
    <error code="24">Unsupported profile image size</error>
    </errors>


    Anyway, we can always do this:
    1. Try to get the original (biggest)
    2. If we get an error return code, try to get "bigger"
    3, If we get an error return code, try to get "normal"

    But I'm pretty confident 1. will work great.

    By the way, I got the idea from the well known HoverZoom Chrome Extension...

    :D,
    Yoav
     

    Users who are viewing this thread

    Similar threads

    ok, thanks. No hurry, take your time!
    ok, thanks. No hurry, take your time!
    @high I've since several days issues with the wiki pages. I can normaly log in and edit the content. But when I want to save I...
    Replies
    8
    Views
    1K
    Yes, all compatible with x64 ;)
    Yes, all compatible with x64 ;)
    Hi folks, for all those who would like to enjoy Mediaportal on the Titanskin, I have now adapted the well-known MP games package...
    Replies
    7
    Views
    838
    Good. I am pleased that that is now working for you. :) If you have ever looked at MP debug log files, you may have noticed that apparent errors are not rare, but these are "errors" that do not affect the functioning of the product. (It is not desirable to have these errors in the log file, as it misleads users, testers, and...
    Good. I am pleased that that is now working for you. :) If you have ever looked at MP debug log files, you may have noticed that...
    Hi, I am reinstalling MediaPortal 1.13 on a new W10 64Bit computer. In need to use this old version because of TVWishlist. So my...
    Replies
    10
    Views
    2K
    This solves the problem. Thank you. I completely overlooked that.
    This solves the problem. Thank you. I completely overlooked that.
    I'm trying to register Mediaportal as new application in trakt. When I'm ordering a new user code the window shown only "USERCODE"...
    Replies
    2
    Views
    446
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and check.
    You can always try, select any window, turn off the Media Portal, change the ID of the selected one to the desired one (plugin) and...
    I don't have a TV card in my HTPC setup, so I really only use plugins that browse and show media files, like MP TV-Series, Moving...
    Replies
    5
    Views
    2K
    Top Bottom