Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: How to get long list of users searched by keywords

$
0
0
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:
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);
Cheers,
Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>