[twitter-dev] twitter oauth :geting undefined index: oauth_token_secret in

2010-10-01 Thread bharani
Hi am trying to post tweets using oauth (PHP)

i created the application in my twitter account ,

i executed some open source script but that produce the below error,

Notice: Undefined index: oauth_token_secret in

How to fix this issue

my snippet

require_once('twitterOAuth/twitterOAuth.php');
require_once('twitterOAuth/OAuth.php');


$consumer_key='q3fsdfsdfsdw';
$consumer_secret='rfsdfsdfsdfsdfdsfsdL';
$request_token='http://twitter.com/oauth/request_token';
$request_token_secret='5454545';
$oauth = new TwitterOAuth($consumer_key, $consumer_secret,
$request_token, $request_token_secret);

// Ask Twitter for an access token (and an access token secret)
$request = $oauth-getAccessToken();

$access_token = $request['amp;oauth_token'];
$access_token_secret = $request['oauth_token_secret'];=== HERE AM
GETTING TROUBLE

function getAccessToken($token = NULL, $pin = NULL)
{
if ($pin)
$r = $this-oAuthRequest($this-accessTokenURL(),
array(oauth_verifier = $pin));
else
$r = $this-oAuthRequest($this-accessTokenURL());

$token = $this-oAuthParseResponse($r);
$this-token = new OAuthConsumer($token['oauth_token'],
$token['oauth_token_secret']);

return $token;
}

My complete Error Here

Notice: Undefined index: oauth_token_secret in E:\wamp\www\source\oauth
\twitterOAuth\twitteroauth.php on line 118

Notice: Undefined index: oauth_token_secret in E:\wamp\www\source\oauth
\bharani.php

-- 
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-dev] undefined index: oauth_token_secret in

2010-10-01 Thread bharani kumar
Hi ,


When i run my oauth snippet am getting this error,

Refer some good open source oauth,

Thanks

-- 
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/

-- 
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-dev] Hi

2010-06-23 Thread bharani kumar
Hi ,


I have  integrated twitter in my web site using PHP CURL , But its tooo slow
, Most of the time am getting the TRY AGAIN ERROR

Is there any alternate way for twitter ,

I find there is another way using OAUTH ,

Not sure but for that we should install the PEAR module ,

Is there anything othere then OAuth service ,


Thanks







-- 
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/


Re: [twitter-dev] Re: Hi

2010-06-23 Thread bharani kumar
Am in India ,

Am just trying in the after noon time ,

What i am saying working fine, but not an continuously getting Error Every 3
tweets ,

It tooo terrible 4 me,



On Wed, Jun 23, 2010 at 7:12 PM, luisg luisfmgoncal...@gmail.com wrote:

 Hi there...

 Actually I'm using oauth with 2 diferent libraries: Haughin (http://
 www.haughin.com/code/twitter/) and Abraham (http://github.com/abraham/
 twitteroauth) for a web page I'm almost finishing.
 But, I'm not sure if this will solve your problem...
 I think that Twitter have some serious problems. I'm always getting a
 'Twitter is over capacity' message, especially during the afternoon
 (I'm in Holand, so GMT+1). In the morning works ok, and I think is
 because people from America are sleeping :)
 Am I right? You have this kind of problems too?

 On Jun 23, 8:45 am, bharani kumar bharanikumariyer...@gmail.com
 wrote:
  Hi ,
 
  I have  integrated twitter in my web site using PHP CURL , But its tooo
 slow
  , Most of the time am getting the TRY AGAIN ERROR
 
  Is there any alternate way for twitter ,
 
  I find there is another way using OAUTH ,
 
  Not sure but for that we should install the PEAR module ,
 
  Is there anything othere then OAuth service ,
 
  Thanks
 
  --
  Regards
  B.S.Bharanikumarhttp://php-mysql-jquery.blogspot.com/




-- 
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/