Facebook Invites

By niknah Last update Oct 11, 2011 — Installed 274,261 times.

help script wizards! vanity URLs problem!

in
Subscribe to help script wizards! vanity URLs problem! 4 posts, 2 voices



therock User
FirefoxWindows

the problem related to the script adding less number of users installed the application even if you can clearly see more XXX numbers is because FB is allowing for vanity URLs!, some of the profile for some individuals has URL of the form of:

http://www.facebook.com/username

rather than

http://www.facebook.com/profile?id=xxxxxx

If all of the individuals who have this type have vanity URLs, then the script not work in the add all friends using the application tab.

Could anyone figure out how to read the user's ID from the vanity URLs?, then it will add those users instead of manually check for them ID's,i have done a new account to test with the 40 that dont show up, i assume some people with bigger games with have a pain in the ass by adding 1x1 of vanity URLs, and checking wich members have this type of feature!.
and i dont know where to post this, if is a problem of facebook invites or facebook game quick invites , but as the two being related i just wanted to post this here.

thanks to anyone that can fix this!.

 
therock User
FirefoxWindows

ok i found that is a problem of facebook invites
the search works and tell you wich members have this application installed, but those members with vanity URL's are not showing up in the numbers of friends with this application when the script came back from the search,and you have to manually search for their ids and add 1 x 1.

 
Austin Pereira User
FirefoxWindows

replace this

if(a.href.indexOf("/profile.php")<0>

with this

if(a.href.indexOf("/friends/")<0>

________________________________________

replace this

profileRe=new RegExp('.facebook.com.*profile.php.*id=([0-9]+)');

with this

profileRe=new RegExp('.facebook.com.*friends.*id=([0-9]+)');

 
therock User
FirefoxWindows

thank you now it works

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel