Get back response from page and store into string
I 开发者_如何学Pythonwant to submit a get to https://graph.facebook.com/oauth/access_token and return the results into a string.
How do you do this in c#? I dont want the header and all that other stuff. Just the string that I could use for the api.
You might want to look at the WebClient
class.
It provides convenient method to download data from a given URI, for instance DownloadString(URI)
.
精彩评论