Всем привет, Хочу в свое php/yii 1.1.15 приложение установить HybridAuth 2.1.1 Инсталлятор при установке требует воздать и заполнить параметры приложений Facebook, Google. Twitter... С двумя последними и возникли непонятки :
Код | 2 )Google : 1. Go to https://code.google.com/apis/console/ and create a new application. 2. Fill out any required fields such as the application name and description. 3. On the "Create Client ID" popup switch to advanced settings by clicking on (more options). 4. Provide this URL as the Callback URL for your application: http://local-yii-tyb.com/tybapp/user/login/oauth?hauth.done=Google 5. Once you have registered, copy and past the created application credentials into this setup page.
|
При входде на первую ссылку открылась страница http://www.radikal.ru и где тут создавать новое приложение - непонятно
3) Twitter :
Код | 1. Go to https://dev.twitter.com/apps and create a new application. 2. Fill out any required fields such as the application name and description. 3. Put your website domain in the Application Website and Application Callback URL fields. It should match with the current hostname local-yii-tyb.com. 4. Set the Default Access Type to Read, Write, & Direct Messages. 5. Once you have registered, copy and past the created application credentials into this setup page.
|
При открытии страницы регистрации и заполнении полей непонятная для меня ошибка http://radikal.ru/fp/e91ad30f762a47c4aa3a459194e45da0
Вопрос общий по всем апи я там ввожу локальный урл local-yii-tyb.com/tybapp/ - это мой локальный сервер. Может ли в Twitter-е ошибка быть из-за этого? Так прокатит(с лакальным урлом) или надо ставить приложение на удаленный сервер и подставлять его урл ? |