Jump to content

I made this app to pull from FB and make soldier names


tdwtomcat

Recommended Posts

I made an app that pulls names from Facebook and creates that file. I haven't had an issue with too many names yet.

 

Here's a link to the GitHub repository for it: Link

 

Its pretty simple, you login with Facebook and it pulls down the names. You click the button, save the file, and replace the default one in the game installation directory. Remember to make a backup so you can get your old names back.

 

The main problem is that you can't pick male names for male soldiers and female names for female soldiers. You end with weird names a lot of times. I find that its still fun anyway though.

 

The app is C#, .NET 4.0. Still needs some work and testing obviously.

Link to comment
Share on other sites

Believe it or not, I don't use Facebook. How many names does it pull and put into the file? and are you sorting them by country of origin? or are all the names showing up for just one country?

 

When you load the names from FB you have the option to pick the country of origin. Otherwise it just randomly assigns the country. I've only tested up to about 300 names total.

Link to comment
Share on other sites

Believe it or not, I don't use Facebook. How many names does it pull and put into the file? and are you sorting them by country of origin? or are all the names showing up for just one country?

 

When you load the names from FB you have the option to pick the country of origin. Otherwise it just randomly assigns the country. I've only tested up to about 300 names total.

 

Ah, ok: I've inserted 100 American male first names, 100 American female first names, and 100 American last names (manually), while leaving the other countries alone. Were all 300 names in one catagory? And did you notice any names popping up in countries other than the one your list was assigned to?

Link to comment
Share on other sites

.net programmer here:

 

facebook exports don't seem to include gender which sucks... would have to connect to a service (or include a datasource) providing common gender association with names. don't even know if such a service exists.

 

does facebook have an api for fetching friend information? I imagine it has to.

Link to comment
Share on other sites

var query = "SELECT uid,pic_square,first_name,last_name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=me())";

 

I imagine here we can get nationality and gender; then you can map accordingly.

 

My concern:

 

you can't match first names with last names... this project may be screwed until that is resolved. Also, I can't seem to limit country of origins.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...