Hi,
I just wanted to let you know that Tweetinvi gives access to the TwitterAccessor class that can let you execute a query on Twitter.
Here is an example on how to change the profile image:
Cheers,
Linvi
I just wanted to let you know that Tweetinvi gives access to the TwitterAccessor class that can let you execute a query on Twitter.
Here is an example on how to change the profile image:
byte[] file = File.ReadAllBytes("filepath"); var media = Upload.UploadBinary(file); var query = string.Format("https://api.twitter.com/1.1/account/update_profile_image.json?media_id={0}", media.UploadedMediaInfo.MediaId); var success = TwitterAccessor.TryExecutePOSTQuery(query);
Linvi