Feature Requests (5 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

    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
    463
    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
    686
    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
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that these were never part of the install package itself, but rather downloaded during the install, and that link no longer exists. Shame that the installer doesn't indicate this. Last time when I installed the...
    Fixed, I think. Certainly the vintage MP2 installer that I was using no longer installs the LAV filters. I can only assume that...
    Hi all, I've recently retired my MP2 setup for my main HTPC and gone back to separates, but I wanted to retain the ability to play...
    Replies
    4
    Views
    791
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For the first example, I highlighted the example text and eventually found the location in the menus where I could select the CODE macro to have the example text formatted as a code example. So far, so good...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    I made some updates to the Wiki page describing the <import> and <include> tags, including adding a couple of new xml examples. For...
    Replies
    0
    Views
    999
    Top Bottom