Yii Framework Forum: [EXTENSION] PS Yii Extension Library -- v1.0.4 (jQuery Tools Support) - Yii Framework Forum

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

[EXTENSION] PS Yii Extension Library -- v1.0.4 (jQuery Tools Support) Rate Topic: -----

#41 User is offline   Sagitta 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 63
  • Joined: 05-November 09

Posted 10 November 2009 - 06:55 AM

Hello xx666xx,

I have changed my php.ini and now works fine.

#error_reporting = E_ALL | E_STRICT
error_reporting = E_ALL

I am using PHP 5.3.0

Apache/2.2.13 (Win32) DAV/2 PHP/5.3.0

Regards.
0

#42 User is offline   dubayou 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 28-January 11

Posted 28 January 2011 - 04:28 PM

So Im trying to utilize the Twitter and Facebook APIs. I've done the Tut 'How To Connect With Twitter From Yii' and got all the way up to where its crashing with a "Invalid auth/bad request (got a 401, expected HTTP/1.1 20X or a redirect)" on the ii::app()->twitter->getAuthorizeUrl() call in site/twitter.php

after installing the pecl ouath lib, I had to add

'apiSecretKey' => 'string:',

to CPSApiBehavior.php to get the secret key to comein from config/main.php

not sure if thats right? but its working to get the keys to the OAuth constructor.


and like mentioned its now going all the way to getting the auth url but gets a bad request. i've tried it with new keys twice, still nothing.

any ideas?
0

#43 User is offline   lucifurious 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 184
  • Joined: 15-March 09
  • Location:Atlanta, GA.

Posted 28 January 2011 - 05:21 PM

I though I had a sample twitter app in the examples folder. Honestly, I haven't revisited it since I revamped the API classes so I may have broken it.

Check out the example and see if that works and I will have a looksee tonite. I also haven't tested with the new twitter oauth so that may just be hosed.
0

#44 User is offline   moisty70 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 23-December 09

Posted 18 October 2012 - 08:40 AM

View Postlucifurious, on 28 January 2011 - 05:21 PM, said:

I though I had a sample twitter app in the examples folder. Honestly, I haven't revisited it since I revamped the API classes so I may have broken it.

Check out the example and see if that works and I will have a looksee tonite. I also haven't tested with the new twitter oauth so that may just be hosed.



And?
What happens with apiSecretKey?

Got an error with property apiSecretKey and if commented in config/main, got an error for format property
0

Share this topic:


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users