• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/classes/general/twitter.php
  • Класс: CSocServTwitter
  • Вызов: CSocServTwitter::getUrl
public function getUrl($arParams)
{
	// due to something strange reason Twitter does incorrect encoding of oauth_redirect parameters
	return '/bitrix/tools/oauth/twitter.php?check_key='.CSocServAuthManager::getUniqueKey().(isset($arParams['BACKURL']) ? "&backurl=".urlencode(urlencode($arParams['BACKURL'])) : '');
}