YelpAPI

БЕСПЛАТНО
От Serg Osipchuk | Обновлено il y a 7 jours | Food
Популярность

4 / 10

Задержка

127,259ms

Уровень обслуживания

0%

Health Check

N/A

Назад ко всем обсуждениям

Oauth Token End Point Is Depricated How To solve this Problem?

Rapid account: Ankush Sharma 26
AnkushSharma26
il y a 6 ans

Hiii,
I’m also having a problem with authentication. I got the error during generating the oauth token. Can you tell me what I’m doing wrong?

Please check below code:-

require_once (‘lib/hhb_.inc.php’);
hc=newhhbcurl(https://api.yelp.com/oauth2/token,true);hc = new hhb_curl ( 'https://api.yelp.com/oauth2/token', true ); hc->setopt_array ( array (
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query ( array (
‘grant_type’ => ‘client_credentials’,
‘client_id’ => ‘XXXXXXX’,
‘client_secret’ => ‘XXXXXXX’
) )
) );
hc>exec();hc->exec (); result = $hc->getStdOut ();

if(result) { data = json_decode(result);printr(result); print_r(data);
}

[error] => stdClass Object
(
[code] => OAUTH_TOKEN_ENDPOINT_DEPRECATED
[description] => The oauth2 token endpoint has been deprecated and removed; you must use your API key for authentication instead. Please see https://www.yelp.com/developers/documentation/v3/authentication#where-is-my-client-secret-going for info & migration steps
)

Please let me know if you have any solution for this type of error in case of accessing the token…

Rapid account: Samartyphonefix
samartyphonefix Commented il y a 10 mois

Smarty Phone Fix is one of the best in Perth Western Australia, and has a reputation for quality repairs. We pride ourselves on offering a fast and effect repair service at an affordable cost. We repair a wide variety of cell phones including iPhone, iPad, Samsung, HTC, LG, Sony, Huawei and Oppo. We offer a 90 days warranty on all our repair jobs.

Our repair and service team is highly trained. We can handle any repair for your cellular phone. We can assure you that your phone problems will be resolved to your satisfaction.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии