tag


SUBMITTED BY: uuuuuu

DATE: Oct. 26, 2016, 2:47 p.m.

FORMAT: Text only

SIZE: 3.9 kB

HITS: 959

  1. var macro,macro1,macro2,macro3,macro4;
  2. var i, retcode1, retcode2, retcode3,retcode33, retcode4,retcode5;
  3. alert("This Script Is Created By Dinesh Bhosale")
  4. var postid = prompt("Please enter post ID", "null");
  5. var groupid = prompt("Please enter group ID", "null");
  6. var seemore = prompt("Please enter number of times to click on seemore button", "5");
  7. var posturl="https://mbasic.facebook.com/"+postid;
  8. var groupurl="https://www.facebook.com"+"/groups/"+groupid+"/members";
  9. if(postid!=null)
  10. {
  11. macro = "CODE:";
  12. macro +="TAB T=1\n";
  13. macro +="TAB CLOSEALLOTHERS\n";
  14. macro +="URL GOTO="+posturl+"\n";
  15. macro +="TAB OPEN\n";
  16. macro +="TAB T=2\n";
  17. macro +="URL GOTO="+groupurl+"\n";
  18. macro +="TAB T=1\n";
  19. retcode1 =iimPlay(macro);
  20. if (retcode1 < 0)
  21. {
  22. errtext = iimGetLastError();
  23. alert("Either tagging is completed successfully or script encountered an error.");
  24. }
  25. for(oo=0;oo<seemore;oo++)
  26. {
  27. macro2 = "CODE:";
  28. macro2 +="SET !ERRORIGNORE YES\n";
  29. macro2 +="TAB T=2\n";
  30. macro2 +="TAG POS=1 TYPE=A ATTR=TXT:See<SP>More\n";
  31. macro2 +="TAB T=1\n";
  32. macro2 +="WAIT SECONDS = 5\n";
  33. retcode2 = iimPlay(macro2);
  34. if (retcode2 < 0)
  35. {
  36. errtext = iimGetLastError();
  37. alert("Either tagging is completed successfully or script encountered an error.");
  38. var oo=seemore;
  39. }
  40. }
  41. var hreftagpos=1;
  42. for(pi=0;pi<500000000;pi++)
  43. {
  44. var comcollect="";
  45. for(o=1;o<500;o=o+2)
  46. {
  47. macro1 = "CODE:";
  48. macro1 +="SET !EXTRACT_TEST_POPUP NO\n";
  49. macro1 +="SET !ERRORIGNORE YES\n";
  50. macro1 +="SET !EXTRACT NULL\n";
  51. macro1 +="TAB T=2\n";
  52. var hreftagpos=hreftagpos+2;
  53. macro1 +="TAG POS="+hreftagpos+" TYPE=A ATTR=HREF:*?fref* EXTRACT=HREF\n";
  54. macro1 +="TAB T=1\n";
  55. retcode33 = iimPlay(macro1);
  56. if (retcode33 < 0)
  57. {
  58. errtext = iimGetLastError();
  59. alert("Either tagging is completed successfully or script encountered an error.");
  60. }
  61. var qqq = iimGetExtract();
  62. var qqq = qqq.replace("www", "graph");
  63. var qqq = qqq.replace("?fref=grp_mmbr_list", "");
  64. iimDisplay(qqq);
  65. macro3 = "CODE:";
  66. macro3 += "TAB OPEN\n";
  67. macro3 += "TAB T=3\n";
  68. macro3 += "URL GOTO="+qqq+"\n";
  69. macro3 += "TAG POS=1 TYPE=PRE ATTR=TXT:{* EXTRACT=TXT\n";
  70. macro3 +="TAB CLOSE\n";
  71. macro3 += "TAB T=1\n";
  72. retcode3 = iimPlay(macro3);
  73. var qqq2 = iimGetExtract();
  74. iimDisplay(qqq2);
  75. var n = qqq2.indexOf('\"first_name\":');
  76. var id = "";
  77. for(a=12;a<=(n-7);a++)
  78. {
  79. var id = id+qqq2[a];
  80. }
  81. var comcollect=comcollect+"<SP>@"+"["+id+":]<SP>";
  82. var comcollect=comcollect.replace(" ","<SP>");
  83. var comcollect=comcollect.replace("\n","<BR>");
  84. iimDisplay(comcollect);
  85. if (retcode3 < 0)
  86. {
  87. errtext = iimGetLastError();
  88. alert("Either tagging is completed successfully or script encountered an error.");
  89. }
  90. }
  91. macro4 = "CODE:";
  92. macro4 += "TAB T=1\n";
  93. macro4 += "TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:comment_text CONTENT="+comcollect+"\n";
  94. macro4 += "TAG POS=1 TYPE=INPUT:SUBMIT ATTR=NAME:post\n";
  95. macro4 += "wait seconds = 10\n";
  96. retcode4 = iimPlay(macro4);
  97. }
  98. var mm=mm+1;
  99. if (retcode4 < 0)
  100. {
  101. errtext = iimGetLastError();
  102. alert("Either tagging is completed successfully or script encountered an error.");
  103. }
  104. }

comments powered by Disqus