Problems with "Add all the friends on this page"
![]() ![]() |
Recently the script has started acting haywire. Up until a short period ago (not sure exactly -- 1-2 weeks maybe), the script was working fine, but now it shows some strange behavior. What I normally use the script for is to send in-game invites to friends that are using an application, but haven't joined up on my crew/clan/mob/etc. I generally go to the "friends that are playing..." screen for the application, or to my friends lists that I have created for certain apps. I then clear the "Clear the current list of friends" and then "add all the friends on this page". It used to behave correctly in that it would start at the first page, add however many were on the page to the internal friends list, and advance to the next page .. repeat until the last page was reached. The strange behavior that has happened recently includes the following: - Only adding half of the people on the page and then advancing to the next page.
The first behavior (only adding about half the people) seems to be pretty common. Has anyone else experienced this problem? Thanks. |
![]() ![]() |
I've determined that this is just another manifestation of a known problem (not being able to recognize profiles that use a name instead of an ID). One thing I've noticed is that if you're at a page that only has the "next page" at the bottom instead of top and bottom, it doesn't automatically advance the page. |
![]() ![]() |
here is the fixed script to your "bulk add" problem http://userscripts.org/topics/33283 |
![]() ![]() |
steve p, if you can contribute your code differences I can try changing the script here. I did a quick diff, and saw that you'd just removed the newsfeed items? am I right? If yes, then the new version posted updated by niknah should fix the issues with newsfeed causing errors.
--- D:\Documents and Settings\JOKER.DUDE\My Documents\Downloads\facebookinvites.user.js
+++ D:\Documents and Settings\JOKER.DUDE\Application Data\Mozilla\Firefox\Profiles\bztfpttq.GM\gm_scripts\facebook_invites\facebook_invites.user.js
@@ -720,7 +720,7 @@
o.testAddMe=document.getElementById('testBulkAddMeButton').checked;
o.ignoreErrors=document.getElementById('BulkAddIgnoreErrors').checked;
o.doPrevPages=document.getElementById('BulkAddMeButtonPages').checked;
-
+ o.newsFeed=document.getElementById('BulkAddNewsFeed').checked;
this.bulkAddOptions=o;
this.BulkAddMe();
@@ -884,8 +884,8 @@
if(friendList.length>0) {
this.SelectFriendListDropDown(friendAddSelect,friendList);
}
-
-
+ var newsFeed=nHtml.FindByXPath(popDialog,".//input[contains(@id,'news_feed_')]");
+ newsFeed.checked=this.bulkAddOptions.newsFeed;
var showComment=nHtml.FindByXPath(popDialog,".//a[contains(@onclick,'showMessage')]");
nHtml.Click(showComment);
But If i am right then all a user (who is experiencing these problems) has to do is comment out lines 720, 884 & 885 by typing // in the beginning of those lines. |
![]() ![]() |
yes anything related to news feed needs to be removed.. as stated here
|
![]() ![]() |
how about the new version with checking added for newsfeed issues. Does this work for everyone? |
![]() ![]() |
Yes I have been trying to use this app on a game forum for SOM and it will add about half of the page and then stops working |
![]() ![]() |
I usually refresh the page and 'sometime' it restart where it jammed, but not always. You can try to do the same unless you want to restart from the beginning. |

