Feature Requests (1 Viewer)

yoavain

Extension Dev
  • Premium Supporter
  • May 24, 2009
    422
    480
    48
    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, i've fixed parsing and did a couple of other optimizations. Also officially published this site, so everybody can use it
    ok, i've fixed parsing and did a couple of other optimizations. Also officially published this site, so everybody can use it
    Hi! I am trying to get the m3u files from GitHub - iptv-org/iptv: Collection of publicly available IPTV channels from all over the...
    Replies
    4
    Views
    8K
    I did a check of MP 1.36 x64 on Win11 and I can confirm, that the TV server correctly detects running MediaPortal.exe process.
    I did a check of MP 1.36 x64 on Win11 and I can confirm, that the TV server correctly detects running MediaPortal.exe process.
    Hi, I am using MP in a client-only setup including DVB-S card for over 10 years now. And regularily scheduling records waking up...
    Replies
    9
    Views
    2K
    Maybe the server is/was too busy when you tried to authenticate. I occasionally run into that too, also with the opensubtitles api I regularly get 429's... there isn't much that can be done about it, except making sure the software isn't hammering the service and having patience...
    Maybe the server is/was too busy when you tried to authenticate. I occasionally run into that too, also with the opensubtitles api...
    Hello, Hello, when I try to authorize trakt configuration for mediaportal using the trakt plugin, I get the following error...
    Replies
    1
    Views
    281
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue...
    I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
    Replies
    8
    Views
    785
    DOH.....another senior moment for me, as I've been here before some years ago! Thanks again :)
    DOH.....another senior moment for me, as I've been here before some years ago! Thanks again :)
    After some time working seamlessly....have run into a brick wall with this! Have tried switching from MadVr to EVR....and problem...
    Replies
    4
    Views
    3K
    Top Bottom