Retrieve updated URL from WWW Instance.

Hello.

I’m working in a C# library for Facebook and Unity, and I have a little problem with WWW Class. You know that facebook Graph API works with URI’s request (custom URL’s). I thought it would be useful to do that requesting with WWW instances. The problem is that the requests results (codes, keys, etc) are often given in the URL, and the WWW Instance only stores the sent URL, no the updated. Let me explain with an example.

I send this fake URI request to Facebook Graph API:

graph.facebook.com/give_me_that_with_this_parameters/

If I put that in any web browser, I will get the response in a new URL like:

graph.facebook.com/here_you_have_the_result

But, if I use WWW Class to do that (c#pseudocode):

WWW request = new WWW("graph.facebook.com/give_me_that_with_this_parameters/");
result = request.url;

I will get the same URL that I send, not the updated. I was wondering if anyone knows a way to get that new URL.
It would appreciate an answer very much. Thanks!:slight_smile:

will not happen with WWW as WWW sends the request and receives the answer, it does not care about the url

So there is no way to do this, right?

(I may start thinking another way to script this)

You probably want to check www.text.