originally posted in:BungieNetPlatform
It's all okay being inspired by this. But not knowing how you programmed this is torture.
English
-
get list of users for each user: - insert user into graph (xml tree) - get their followers - insert each follower into graph - insert each follower to user edge into graph end
-
So you're running a program that interacts with the Bnet platform? Did you get the list of users by requesting the data via a program?
-
Yes and yes.
-
This might seem like a stupid question, but can requests be sent via a console application in Visual Studio? How does one make a request? I'm guessing I need to know Bungie's web server IP. Oh God. Please don't tell me I have to filter out HTTP protocol text. I had to make a client that worked for several HTTP protocols which all had different message templates.
-
A C# console app in VS is actually how I did it ;). You'll also probably be interested in [url=https://github.com/dazarobbo/BungieNetPlatform]this[/url].
-
Does [url=http://pastebin.com/x0CGBNkx]this[/url] look acceptable to you? I've also tried port 443 to no avail. I've looked through the BnetPlatform on GitHub but don't understand what I should be writing through the stream.
-
You should really be using HttpClient instead. It's also a bit more involved than what you have there; you'll need to specify a path and not just the hostname, for example.