If you view this question thank you in advance!, I am working on pulling data from Facebook.
I am trying to pull the username from Facebook so i can use it in a late
I think you are calling the function returndata()
at any random point which you can't do. The reason is- the variable PASON
is assigned value asynchronously. So, you have to code in such a way that you call returndata()
after the value is assigned!
Its not quite clear what you are trying to do with the function returndata()
. But, I hope your concept is clear now.