You have too much code on one line.
GetExtension<T>() will return null if the provider does not actually include this extension in the response. Therefore, you should always check that it returns a nonzero value before dereferencing it.
You get a refusal from Yahoo because they do not support the distribution of additional information to your users (yet), with the exception of a small RP white list.
I do not know about MySpace, but I suspect that they simply do not support it.
source share