Latest Inquiries - Data Extraction Software

How to upload picture to Facebook fanpage

Submitted: 1/18/2016

Hi - I am trying to automate some posting to a facebook fanpage.

Text posts are possible - however I would like to post a post with uploading a picture (or actually a whole range of picture from an input database source. When the "Add Photo" button is clicked in Facebook in a normal browswer, it opens the windows explorer so you can browse your hard disk for the desired image to Upload. In Visual Web Ripper, I can click on the button, but it does not do anyhting. How are upload windows generally handled? - Is that possible in Visual Web Ripper?

best regards

Ales

Replied: 1/18/2016 1:28:12 AM
FANPAGE.jpg

Replied: 1/19/2016 1:20:28 AM

You might refer to the below topic link, hope it helps:

http://manual.visualwebripper.com/default.aspx?manual_id=177

Uploading Files

Some web forms contains file upload boxes that allow users to upload files to a website. File upload boxes cannot be manipulated by scripting, so they need to be processed differently than other web form input boxes.

Follow these steps to add a file upload FormField to your project.

  1. Select the file upload input box in the web browser and add a FormField content element to your project.
  2. Enter the path of the file you want to upload in the Capture window. You can also load file paths from an input data source.
  3. Set the FormField action to JavaScript and AJAX.
  4. Set the FormField option "File upload" to true in the advanced options tab.
A web form that uploads files cannot be submitted to a new browser window, so such web forms will always open in the current browser window.