help
Root Question Message
TwitterData twitterData = new TwitterData();
var profilePicturesList = twitterData.twitter_profilePictures_list_function();
var counter = 1;
var asset = new ManagementAsset();
foreach (var imageUrl in profilePicturesList)
{
String new_asset_id = "asset" + counter;
asset.SystemProperties = new SystemProperties();
asset.SystemProperties.Id = new_asset_id;
asset.SystemProperties.Version = 3;
asset.Title = new Dictionary<string, string> {
{ "en-US", new_asset_id }
};
asset.Files = new Dictionary<string, File>
{
{ "en-US", new File()
{
ContentType = "TwitterFollowers",
FileName = "image.png",
UploadUrl = imageUrl
}
}
};
await client.CreateOrUpdateAsset(asset);
await client.ProcessAsset(new_asset_id, 2, "en-US");
await client.PublishAsset(new_asset_id, 2);
counter++;
}
await client.PublishAsset(new_asset_id, 2);
i'm be able to send them all