Hi,
I think there is some problem when the library returns the path (ProfileImageFullSizeUrl) of a user.
In particular, the error is present when the original url has an underscore.
Seems the library lose the underscore returning a wrong image path.
ie:
Trying to receive the Demi Lovato's image:
var user = Tweetinvi.User.GetUserFromScreenName("ddlovato");
var imageUrl = user.ProfileImageFullSizeUrl;
the variable imageUrl returned is "http://pbs.twimg.com/profile_images/614150024847605760/HrQVHpR.png"
while the current and correct url on Twitter is "https://pbs.twimg.com/profile_images/614150024847605760/HrQVHpR_.png"
Thank you.
Stefano
Comments: ** Comment from web user: imodejam **
I think there is some problem when the library returns the path (ProfileImageFullSizeUrl) of a user.
In particular, the error is present when the original url has an underscore.
Seems the library lose the underscore returning a wrong image path.
ie:
Trying to receive the Demi Lovato's image:
var user = Tweetinvi.User.GetUserFromScreenName("ddlovato");
var imageUrl = user.ProfileImageFullSizeUrl;
the variable imageUrl returned is "http://pbs.twimg.com/profile_images/614150024847605760/HrQVHpR.png"
while the current and correct url on Twitter is "https://pbs.twimg.com/profile_images/614150024847605760/HrQVHpR_.png"
Thank you.
Stefano
Comments: ** Comment from web user: imodejam **
The problem is still present...
Please, try with the twitter account @googleitalia. In this case the profile image url is "https://pbs.twimg.com/profile_images/638746415901114368/e4h_VW4A_400x400.png" (with 2 underscores) but, invoking your new method "ProfileImageUrl400x400", I obtain the following url:
"http://pbs.twimg.com/profile_images/638746415901114368/e4h400x400.png" (without the underscores).
Best regards
Stefano