Downloading million tweets in Arabic language?


I am a student at faculty of engineering,
I want to know the source to learn downloading 1 million tweets by developing a software by myself…and
What is convenient programming language to access twitter?


This is a good introductory tutorial:

Examples use Python, but there are Twitter API libraries for other languages.