What is the value for Access Type in your registered application
configuration settings?

It must be read and write.

for me same thing is working very well.

On Fri, Jan 28, 2011 at 9:02 AM, Thyagarajulu Reddy .G
<thyag...@gmail.com>wrote:

>
>
>
> thanks for sending information srinivas. once we will post the twit i have
> getting error: The remote server returned an error: (401) Unauthorized.
>
>
> ---------- Forwarded message ----------
> From: Srinivasulu Gumudavelli <srinivasulu.gumudave...@gmail.com>
> Date: Thu, Jan 27, 2011 at 9:14 PM
> Subject: Re: [twitter-dev] Use of Twitterizer
> To: twitter-development-talk@googlegroups.com
>
>
> Hi Thyagarajulu,
>
> 1) Login to twitter
> 2) go to settings
> 3) Click on API link at the bottom of page
> 4) Click on 2nd option
> 5) Click on View Your Applications button
> 6) Click on Edit Details link under your registered application
> 7) Click on Application Detail button
> 8) Click on My Access Token button there you can get those values.
>
> Have a nice time.
>
>   On Thu, Jan 27, 2011 at 12:12 PM, Thyagarajulu Reddy .G <
> thyag...@gmail.com> wrote:
>
>> thanks for sending information srinivas i got only *consumerKey*, *
>> consumerSecret.*
>> how to get *accessToken*, *accessTokenSecret.*
>>
>>
>> On Thu, Jan 27, 2011 at 11:53 AM, Srinivasulu Gumudavelli <
>> srinivasulu.gumudave...@gmail.com> wrote:
>>
>>> Hi Thyagarajulu,
>>>
>>> Posting tweets and reading them is simple process by using twitterizer.
>>> My question is actually whether we can use Twitterizer or not?
>>>
>>> Pl find the following to do the above.
>>>
>>> 1) Create an account in twitter.
>>> 2) Register your application in twitter.  For doing this you can find so
>>> many sites.  If you don't get it let me know.
>>> 3) While registering your application, make sure you make it as Read &
>>> Write.
>>> 4) Once you do step 2 and 3, you can get *consumerKey*, *consumerSecret*,
>>> *accessToken*, *accessTokenSecret* from Twitter itself.  If you don't
>>> find these also let me know.
>>> 5) Create one web application then write the following code.
>>> 6) Add Twitterizer2.dll as a reference.
>>>
>>> using
>>> System;
>>>
>>> using
>>> System.Collections.Generic;
>>>
>>> using
>>> System.Linq;
>>>
>>> using
>>> System.Web;
>>>
>>> using
>>> System.Web.UI;
>>>
>>> using
>>> System.Web.UI.WebControls;
>>>
>>> using
>>> System.Configuration;
>>>
>>> using
>>> Twitterizer;
>>>
>>> namespace
>>> TestTwitterizer
>>>
>>> {
>>>
>>> public partial class test : System.Web.UI.Page
>>>
>>> {
>>>
>>> OAuthTokens oAuthAccessToken = null;
>>>
>>> protected void Page_Load(object sender, EventArgs e)
>>>
>>> {
>>>
>>> //following values reading from .config file
>>>
>>> var consumerKey = ConfigurationManager.AppSettings["consumerKey"];
>>>
>>> var consumerSecret = ConfigurationManager.AppSettings["consumerSecret"];
>>>
>>>
>>> var accessToken = ConfigurationManager.AppSettings["accessToken"];
>>>
>>> var accessTokenSecret = ConfigurationManager.AppSettings[
>>> "accessTokenSecret"];
>>>
>>> //creating OAuthTokens instance and assign values
>>>
>>> oAuthAccessToken =
>>> new OAuthTokens();
>>>
>>> oAuthAccessToken.AccessToken = accessToken;
>>>
>>> oAuthAccessToken.AccessTokenSecret = accessTokenSecret;
>>>
>>> oAuthAccessToken.ConsumerKey = consumerKey;
>>>
>>> oAuthAccessToken.ConsumerSecret = consumerSecret;
>>>
>>> //for posting tweets
>>>
>>> TwitterStatus TweetStatus = new TwitterStatus(oAuthAccessToken);
>>>
>>> TwitterStatus respStat = TweetStatus.Update("My Message4" + " - test
>>> site");
>>>
>>> //for reading tweets
>>>
>>> TwitterUser user = new TwitterUser(oAuthAccessToken);
>>>
>>> TwitterStatusCollection statCol = TwitterUser
>>> .GetTimeline(oAuthAccessToken);
>>>
>>> }
>>>
>>> }
>>>
>>> }
>>>
>>>
>>>
>>>
>>> On Thu, Jan 27, 2011 at 8:14 AM, Thyagarajulu Reddy .G <
>>> thyag...@gmail.com> wrote:
>>>
>>>> hi srinivas i am also struggling for posting status message to twitter
>>>> using twitterizer. so please send me if u got any code
>>>>
>>>>   On Wed, Jan 26, 2011 at 1:38 PM, Srinivasulu Gumudavelli <
>>>> srinivasulu.gumudave...@gmail.com> wrote:
>>>>
>>>>>   Hello,
>>>>>
>>>>> Could you pl suggest me whether can I use of Twitterizer for just
>>>>> posting status messages to Twitter and reading them?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> --
>>>>> Thanks & Regards
>>>>> Srinivasulu Gumudavelli
>>>>>
>>>>> --
>>>>> Twitter developer documentation and resources:
>>>>> http://dev.twitter.com/doc
>>>>> API updates via Twitter: http://twitter.com/twitterapi
>>>>> Issues/Enhancements Tracker:
>>>>> http://code.google.com/p/twitter-api/issues/list
>>>>> Change your membership to this group:
>>>>> http://groups.google.com/group/twitter-development-talk
>>>>>
>>>>
>>>> --
>>>> Twitter developer documentation and resources:
>>>> http://dev.twitter.com/doc
>>>> API updates via Twitter: http://twitter.com/twitterapi
>>>> Issues/Enhancements Tracker:
>>>> http://code.google.com/p/twitter-api/issues/list
>>>> Change your membership to this group:
>>>> http://groups.google.com/group/twitter-development-talk
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks & Regards
>>> Srinivasulu Gumudavelli
>>>
>>> --
>>> Twitter developer documentation and resources:
>>> http://dev.twitter.com/doc
>>> API updates via Twitter: http://twitter.com/twitterapi
>>> Issues/Enhancements Tracker:
>>> http://code.google.com/p/twitter-api/issues/list
>>> Change your membership to this group:
>>> http://groups.google.com/group/twitter-development-talk
>>>
>>
>>   --
>> Twitter developer documentation and resources: http://dev.twitter.com/doc
>> API updates via Twitter: http://twitter.com/twitterapi
>> Issues/Enhancements Tracker:
>> http://code.google.com/p/twitter-api/issues/list
>> Change your membership to this group:
>> http://groups.google.com/group/twitter-development-talk
>>
>
>
>
> --
> Thanks & Regards
> Srinivasulu Gumudavelli
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>



-- 
Thanks & Regards
Srinivasulu Gumudavelli

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to