Script help for deleting photos in Facebook

Discussions and Tech Support related to the iMacros Google Chrome extension.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
dazed118
Posts: 1
Joined: Fri Nov 30, 2012 2:50 am

Script help for deleting photos in Facebook

Post by dazed118 » Fri Nov 30, 2012 3:22 am

Very new here. I am an admin for several online yard sale type groups on Facebook and I was looking to automate my work a little more. Herein lies the problem.

Every photo in the group has a separate ID. To delete the photo you have to click "Remove the Photo." Then you have to click "confirm." Best I can tell, the confirm button has an underlying unique code. I have tried to put in a wildcard in all the places I can think of, but nothing works properly.

The basic code I have started with is:

URL GOTO=https://www.facebook.com/photo.php?fbid ... permPage=1
TAG POS=1 TYPE=A ATTR=TXT:Remove<SP>This<SP>Photo
TAG POS=1 TYPE=INPUT:SUBMIT ATTR=ID:uqws93t3

Any help would be amazing. I have about 3000 photos to delete and I don't want to wear out my mouse. :?
Irishmike024
Posts: 2
Joined: Thu Feb 14, 2013 3:16 am

Re: Script help for deleting photos in Facebook

Post by Irishmike024 » Thu Feb 14, 2013 3:45 am

I'm having a similar problem, Mine does not have a unique underlying code though.

TAG POS=1 TYPE=A ATTR=TXT:Let<SP>me<SP>deposit<SP>some<SP>Credits<SP>please
WAIT SECONDS=5
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:deptobaform ATTR=ID:inpfordepotobc CONTENT=50000
WAIT SECONDS=5
TAG POS=1 TYPE=INPUT:BUTTON ATTR=VALUE:Make<SP>Deposit <-----Problem starts here
WAIT SECONDS=5
TAG POS=1 TYPE=INPUT:BUTTON ATTR=VALUE:OK <--------------Line 23

the first dialogue box requires a mouse click to deposit the credits.the website is behind the dialogue box and is unaccessable at this point until the second dialogue box is confirmed. the second dialogue box is to confirm the deposit. the first dialogue box never closes allowing the second dialoge box to be confirmed as ok. also the credits are not deposited

This is the error I get:
RuntimeError: element INPUT specified by VALUE:OK was not found, line: 23

This is the imacro version:
VERSION BUILD=6011206 RECORDER=CR

This is my browser:
Chrome version is 24.0.1312.57

Any help would be great.
Post Reply