This project has moved and is read-only. For the latest updates, please go here.

LinqToTwitter Api fails for Jorden (WP8)

Apr 2, 2014 at 2:58 PM
We are facing a very strange issue in LinqToTwitter api.
In our application we are using it for twitter authentication.
It works fine for we developers, in Dubai.
It works fine for our secondary customer, in Dubai.
It works for another deep testing team may be in UK.

But it doesn't work for the primary client in Jordan.
Does it make sense?

we are using same code each and everything. The same build passes from 3 level but for actual client they get the api error.

My code is given below.
    void Page_Loaded(object sender, RoutedEventArgs e)

        this.PinAuth.BeginAuthorize(resp =>
            Dispatcher.BeginInvoke(() =>
                switch (resp.Status)
                    case TwitterErrorStatus.Success:

                    case TwitterErrorStatus.TwitterApiError:
                    case TwitterErrorStatus.RequestProcessingException:

    private void initTwitterPIN()
        this.PinAuth = new PinAuthorizer
            Credentials = new InMemoryCredentials
                ConsumerKey = AppSettings.TwitterConsumerKey,
                ConsumerSecret = AppSettings.TwitterConsumerSecretKey
            UseCompression = true,
            GoToTwitterAuthorization = pageLink =>
                Dispatcher.BeginInvoke(() =>
                    lblMsg.Visibility = System.Windows.Visibility.Collapsed;
                    OAuthWebBrowser.Navigate(new Uri(pageLink, UriKind.Absolute));
In response in Page_loaded resp.Status contains value of TwitterErrorStatus.TwitterApiError and it only happens for client testing in Jorden and i am banging my head in walls.

Same i have posted on
Apr 2, 2014 at 8:21 PM

Do you have more info on the error? e.g. StatusCode, ErrorCode, Message, or StackTrace?

Apr 9, 2014 at 7:48 PM
Posting for the benefit of anyone else who experiences the same problem: