Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6021855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:46:26+00:00 2026-05-23T03:46:26+00:00

I am trying to make a WP7 app that would Tweet short messages user

  • 0

I am trying to make a WP7 app that would Tweet short messages user wants to. The problem is that I always get Unauthorized response. Here is what I do:

First, I initialize Service:

TwitterService twService;    
twService = new TwitterService(App.TwitterConsumerKey, App.TwitterConsumerSecret);
twService.AuthenticateWith(App.TwitterAccessToken, App.TwitterAccessTokenSecret);

if I use SendTweet I get the Unauthorized response (which is pretty reasonable, I guess – it doesn’t know what user it should tweet to). So I have to authorize the user somehow. I need a browser for that. I have created one and called it LoginBrowser. How do I use it? I thought getting the uri like this:

  twService.GetRequestToken((requestToken, response) =>
  {
    if(requestToken == null)
    {
    Console.WriteLine("Getting request token; response: {0}", response.StatusDescription);
    return;
    }
    var uri =  twService.GetAuthorizationUri(requestToken);
    if (uri == null)
      Console.WriteLine("uri is null");
    else
      Console.WriteLine("Uri: {0}", uri.ToString());

  }
  );

This doesn’t work. Request token is equal to null and it prints that response is Unauthorized 😐 What is the proper way of doing this? All documentation I find do not even compile. It seems like TweeSharp has just been updated and now all documentation is out-dated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:46:27+00:00Added an answer on May 23, 2026 at 3:46 am

    Have you an API key for your app ? (http://dev.twitter.com/), I followed mostly this method and it works well. The only difference is that I set to false the IsScriptEnabled attribute on my webbrowser control because of a compatibility issue but I re-enable it by code after the twitter auth page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to make a custom :confirm message for a rails form that returns data
Trying to make a floating css menu. How do I get the floating div
Trying to make simple minesweeper game in python, but have one problem. I have
Trying to make a toggle button that hides/shows the right window/pane. Here is a
I am trying to make a basic webclient call to get an xml stream
I'm trying make my first python app. I want make simple email sender form.
I'm trying to make the UI of a page in a WP7 application more
i having some hard time on this, i'm trying to get my first WP7
I'm trying to create maps application like the WP7 Maps. I know that in
I'm trying to add support for tracking application usage to a WP7 app (e.g.,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.