Can we call twitter API directly from browser?
<p>I have seen twitter REST API need a complicate oauth header and it recommend to be called on server side</p>

<p>Which is I wonder that, is it possible that I could call those REST API from browser with JavaScript</p>

<p>What I understand is OAuth header of twitter need signature that must be signed with consumer secret (not app secret)</p>

<p>I want to know are there anyway I could do it on client side?
And what would be the problem if I expose that consumer secret (not app secret) on my site? Or are there a way to call those API without oauth_signature in header</p>