Нажатие на кнопку в HTML (js) - C#
Формулировка задачи:
Каким образом можно кликнуть по кнопке такого вида:
?
Кнопка "читать" в твиттере
<div class="js-action-follow follow-text action-text" data-user-id="386457835"> <i class="follow"></i>
Решение задачи: «Нажатие на кнопку в HTML (js)»
textual
Листинг программы
using System;
using Twitterizer;
class Program
{
static void Main(string[] args)
{
TwitterUser user = new TwitterUser();
OAuthTokens auth = new OAuthTokens();
auth.AccessToken = ""; //ваши значения
auth.AccessTokenSecret = "";//ваши значения
auth.ConsumerSecret = "";//ваши значения
auth.ConsumerKey = "";//ваши значения
TwitterResponse<TwitterUserCollection> followersResponse = TwitterFriendship.Followers(auth);
Console.WriteLine("Количество читателей: " + followersResponse.ResponseObject.Count);
TwitterUserCollection followers = followersResponse.ResponseObject;
foreach (TwitterUser follower in followers)
Console.WriteLine("Имя читателя: " + follower.Name);
Console.ReadKey(true);
}
}