How to know my current page url is tweet or not?



I am developer but i have query.
I have a question for that.
when i first tweet url then how to i know that the URL is tweet or not.?

I want a make api for that can you explain me? or help me?

Just i want.
When user is share current URL then disable twitter button. can i do that using Api?

Jaydip Kanasagra