Facebook games quick invite.

By niknah Last update Jan 21, 2010 — Installed 74,015 times.

Suggestion

in
Subscribe to Suggestion 11 posts, 5 voices



<x51> User

I've had a lot of problems with this because the page that it checks for your friends that have the mafia wars application installed has not been updating. I added 300 new friends and 2 days later the page only shows 5 friends that have mafia wars. (All of my friends play mafia wars.)

Anyway... this is a problem with facebook and / or Zynga.

Would it be possible to simply go through friends, extract the User ID... then use the quick add link.. regardless if they can be confirmed as playing the game? Using the quick add link for a non mafia wars player shouldn't cause any problems... right?, the user just wont be added to your mafia?.. no big deal.

I think it would be excellent if it worked like this:

1) Collect all of your friends and user IDs.
2) Collect all the users in the Mafia wars (other zynga game) invite list.. (since these are the people you have not added to your mafia yet.
3) Send invites using the quick link to all those players listed.
4) when you refresh, the only people left in the list either dont play, or have not enabled the quick link feature and you can then use your manual invites.

Does this make sense?

 
niknah Script's Author

Do your new friends show up in the invite dialog in the game?
maybe it can just take the list of people from there instead.

 
vampy88 User

I agree Agent Smith

 
<x51> User

niknah, I'm not sure the script could parse the user ID from the invite dialog in the game. I think it would have to go through my friends in facebook, collect the name and the UID.

THEN...from the invites list it can take the list of names and convert them to UID and add them.
Really if you had a list of all the User IDs of your friends.. you just need this link:
http://apps.facebook.com/inthemafia/status_invi...

Replace XXXXXXXXXX with the User ID of each person in your friends list... and you are good.

I have about 600 friends now.. I created this account ONLY for mafia wars a few days ago... EVERY friend was collected from the ADD ME boards.. EVERY Friend plays mafia wars.

when I try to refresh my friends.. it goes to the facebook page that lists my friends who play the game and it has been switching between 104 and 165 all day yesterday and today... sometimes it's 104, sometimes it's 165.... Even though It's supposed to be 600+

The point is Zynga / Facebook communication is busted and the reporting that this script uses to do it's job is unreliable. The script itself works great. If Zynga / Facebook would get their act together and display an accurate list of my friends that use the application, everthing would be fine.

This is why I propose removing the reliance on that page...

 
niknah Script's Author

I have added a "use all friends in invite dialog" link there to add all your friends in the invite dialog to the list of "add friend" links. I'm not there to see your problem, I wanted to know if the missing friends were in the invite dialog.

For a facebook app it's easy to just grab the user ids of all your friends, but for a script you'd have to go through all the pages in your friends list.

 
John New User

So there's no easy way to harvest all your friend's uids and plug them into an invite url using a script?
I do this manually myself, but its a slow process. I modified heartrate's "add to mafia" bookmarklet to work for vampire wars, sex games, and street racing. But I have to open 4 tabs for each friend to add them to all 4 and its a very tedious process when you have 1000+ friends.
Imagine how cool it would be to start on a new game, and with just a couple clicks and an interim waiting period, max out your players in it using just the friends you already have.
I was really hoping it would be possible to automate adds with a script. Bummer. :(

 
niknah Script's Author

Not sure what you mean.

You mean one click to invite all your friends instead of just the friends in the invite dialog? Normally in a game, everyone who's not already in your team should be in the invite dialog.

 
John New User

No, I mean by using an invite link;
http://apps.facebook.com/inthemafia/status_invite.php?from=XXXXXXXXXX and inserting your friend's uid it skips the daily invitation limit of whatever game, and makes them invite you instead.
This allows you to mass add everyone in your friends list, without having to mess about with invites and waiting to see if they add you.

Or does this script already bypass these limitations?
If so, please forgive my blathering, and accept my apology for being annoying. :)

 
niknah Script's Author

yes, that's the url the script uses.

 
John New User

well damn, I'll shut my yap then. :)

 
VS User
FirefoxWindows

If you just want a list of every user id of every facebook friend you have there is a way.
http://developers.facebook.com/tools.php?api -> method should be set to friends.get - just hit the "call method" button to get your list. Set response format to JSON to get all the IDs on a single line, each id separated by a comma. This may not help for a user script but there is a way to get the list you want for yourself at least.

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