I am trying to figure out, how can I automatically submit a url at the following page
http://www.facebook.com/sharer.php
without actually clicking on the submit button.
Thanks.
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.
You can find that from the page source. There is a form defined…
<form action="/sharer.php" method="get">and the button is a submit button, which means that when you click the button, the form data is sent as a get request to http://www.facebook.com/sharer.php – in other words, it submits back to itself.
Update – asker wants to know how to submit the form without clicking on the link.
The form is:
So you need to GET a URL with form data something like the following
http://www.facebook.com/sharer.php?u=your_encoded_url&appid=yourappid