I want to display some text on twitter/facebook when a link is clicked on my website. Is there a way in jQuery to do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
if it’s another user posting a message on your own facebook/twitter account, you’ll have to store your password on the client side (javascript).
That sounds like a bad idea to me, so you’ll have to make it server-side.
So what you’ll need is :
This way, you can also control the content of the message.
Good luck 😉