Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: User.GetUserFromId

$
0
0
Pheonix2105 wrote:
Being able to see more code would help us to see where the problem might be occurring.

Is this a web app? If you refresh the page which I assume has a field to enter a user name, it won't have any value and then it will try to run.
        var user = User.GetUserFromId(null);
Yes, this web app. I have in database twitterUserID, and call function with this parameter, so User.GetUserFromId(twitterUserID). First run web app do this good (cold run), after refresh page i got this exception.

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>