I have a Base64 image string, i need to set the value of an input type file field, i have no control of the server side, or of the site, so it has to be done like this.
Is this possible?
FB API request / response on img upload
The response is a very long jS string setting some values, its very very very long, cannot post due to char restriction on SO.
This seems to be how the image is addeded to a post:
<input type="file" class="_n _5f0v" title="Vælg en fil at overføre" multiple="1" name="composer_unpublished_photo[]" aria-label="Føj billeder til dit opslag" id="js_h">
This is what happens when a post is posted, containing an image, the post only seems to reference the image, that has been pre-uploaded, on the prev request i posted.