I have a form with a few text fields and and a file upload field.
<form enctype="multipart/form-data" method="POST">
<input name="source" type="file">
<input name="message" type="text" value="">
</form>
I need to post the text inputs and file inputs to itself. Then take the posted data, and post it to facebook's graph api using curl.
Is this possible? If so, any code examples for sending file data over curl would be appreciated. Thanks!