var macro,macro1,macro2,macro3,macro4; var i, retcode1, retcode2, retcode3,retcode33, retcode4,retcode5; alert("This Script Is Created By Dinesh Bhosale") var postid = prompt("Please enter post ID", "null"); var groupid = prompt("Please enter group ID", "null"); var seemore = prompt("Please enter number of times to click on seemore button", "5"); var posturl="https://mbasic.facebook.com/"+postid; var groupurl="https://www.facebook.com"+"/groups/"+groupid+"/members"; if(postid!=null) { macro = "CODE:"; macro +="TAB T=1\n"; macro +="TAB CLOSEALLOTHERS\n"; macro +="URL GOTO="+posturl+"\n"; macro +="TAB OPEN\n"; macro +="TAB T=2\n"; macro +="URL GOTO="+groupurl+"\n"; macro +="TAB T=1\n"; retcode1 =iimPlay(macro); if (retcode1 < 0) { errtext = iimGetLastError(); alert("Either tagging is completed successfully or script encountered an error."); } for(oo=0;oo@"+"["+id+":]"; var comcollect=comcollect.replace(" ",""); var comcollect=comcollect.replace("\n","
"); iimDisplay(comcollect); if (retcode3 < 0) { errtext = iimGetLastError(); alert("Either tagging is completed successfully or script encountered an error."); } } macro4 = "CODE:"; macro4 += "TAB T=1\n"; macro4 += "TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:comment_text CONTENT="+comcollect+"\n"; macro4 += "TAG POS=1 TYPE=INPUT:SUBMIT ATTR=NAME:post\n"; macro4 += "wait seconds = 10\n"; retcode4 = iimPlay(macro4); } var mm=mm+1; if (retcode4 < 0) { errtext = iimGetLastError(); alert("Either tagging is completed successfully or script encountered an error."); } }