How to connect a freestanding text field with my tweet, on a webpage?


#1

So -
I use this mention button code that works perfect

<a href="https://twitter.com/intent/tweet?screen_name=xx&text=heihei" class="twitter-mention-button" data-size="large">Tweet to @xx</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

But above the "tweet"button I want a small textfield. With a prewritten text but where visitors also can change the text and write what they want and AFTER that press “tweet” and the small tweet window popups with the text they already written in my textfield.

Please help? :*


#2