Khloros adlı üyeden alıntı: mesajı görüntüle
Az önce yazdım hocam. İçin rahat etmiyorsa buyur kodları kendin debug et kullan. Studio 2010 C#.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace twitterFollow
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        public int next = 0;
        public bool done = true;

        private void button1_Click(object sender, EventArgs e)
        {
            timer1.Start();
        }

        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            webBrowser1.Navigate("javascript:if(document.getElementById('follow_btn_form').getAttribute('class') !== 'follow disabled') document.getElementById('follow_btn_form').submit();");
            done = true;
        }

        public void follow_next(string screenname)
        {
            @webBrowser1.Navigate("https://twitter.com/intent/follow?screen_name=" + screenname);
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            var
                   text = textBox1.Text;
            string[] split = text.Split('\n');
            if (done == true)
            {
                done = false;
                if (next >= split.Length)
                {
                    timer1.Stop();
                    MessageBox.Show("Finito");
                }
                else
                {
                    follow_next(split[next]);
                    next++;
                }
            }
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            webBrowser1.ScriptErrorsSuppressed = true;
            webBrowser1.Navigate("https://twitter.com/");
        }
    }
}
Deneyen varsa yorum atabilir mi arkadaşlar