First off, no need to apologize for your English. I'm sure it's much better than my ... errr ... whatever it is you speak. Just be patient with us.
Yes, APIs are confusing enough to begin with and every one is different and they are often poorly documented.
So I ignored Twitter's API and did it an easier way:
window.open("https://twitter.com/intent/tweet?text=" + text);