Feature Requests (2 Viewers)

yoavain

Extension Dev
  • Premium Supporter
  • May 24, 2009
    422
    480
    49
    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

    I have wanted to create a skin for MePo for years, but lack of free time due to other time demanding creative output (i.e. hobbies) I have not gotten past creating mockups of my skin ideas for when I could have time in the future. But, the future seems to be here now, with the AI explosion, good or bad. I've never tried using AI...
    I have wanted to create a skin for MePo for years, but lack of free time due to other time demanding creative output (i.e. hobbies)...
    I have wanted to create a skin for MePo for years, but lack of free time due to other time demanding creative output (i.e. hobbies)...
    Replies
    0
    Views
    389
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Hi All, I have a strange one. I recently added 2 new TV series to my setup and they are not being correctly identified in the...
    Replies
    2
    Views
    614
    • Sticky
    intentionally left blank
    intentionally left blank
    Skin Properties MediaPortal 1 This thread is intended for all active/ongoing Skin Designers to find out about the available skin...
    Replies
    31
    Views
    3K
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194 connections between 10:54 and 11:05 triggering a denial of service attack ban. The logs show it was lifted on 5/25, but I still see the entry in iptables. I reset fail2ban and hopefully you're working again." Weird...
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194...
    I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...
    Replies
    3
    Views
    789
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
    Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
    Replies
    8
    Views
    3K
    Top Bottom