*/
function api_search($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_statuses_home_timeline($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_statuses_public_timeline($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_statuses_networkpublic_timeline($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_statuses_show($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_conversation_show($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_statuses_mentions($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_statuses_user_timeline($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
{
global $called_api;
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();
*/
function api_lists_ownerships($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
// params
*/
function api_lists_statuses($type)
{
+ if (empty(BaseApi::getCurrentUserID())) {
+ throw new ForbiddenException();
+ }
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
$user_info = DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray();