http - How to solve with statuses/update Code 403 => Error 220 ,Your credentials do not allow access to this resource -


my code working functionality of post tweet, follower. last 2 days posting tweet got following error:

i treid alot of ways , still t same problem.

  public function old_old_posttweet($text){          $this -> init();         $return = $this-> twitter -> sendtweet($text);          return $return;     }    

first function worked before without problems.

 public function curl_posttweet($text){          $cmd = "curl --request 'post' 'https://api.twitter.com/1.1/statuses/update.json' --data 'status=maybe+he%27ll+finally+find+his+keys.+%23peterfalk' --header 'authorization: oauth oauth_consumer_key=\"ntnu3bxxxxxxxxbkp2rua\", oauth_nonce=\"8aff955397bxxxxxxxx940cc6ded24\", oauth_signature=\"x8%2b%2foxxx5wm%2bgxxxxxkgxlu6o%3d\", oauth_signature_method=\"hmac-sha1\", oauth_timestamp=\"1395641319\", oauth_token=\"2336351089-5zsk2elxxxxxxxxxxxxxxxxxxxxxcirz0v12ba33\", oauth_version=\"1.0\"' --verbose";         $return = shell_exec($cmd);          return $return;     } 

curl command got dev.twitter console , it's work in terminal. but, online on website it's not.

language: php cms: joomla

any solution ?

i found :

restricting api.twitter.com ssl/tls traffic https://dev.twitter.com/discussions/24239

i'm still not sure, test when have ssl server.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -