Ejemplo n.º 1
0
Archivo: aaa.php Proyecto: ram-1501/rs
     $acc_data = $api->getAccountDataByID($_POST['accountID'], $_POST['profileID'], $_POST['profile_Id']);
     if ($acc_data == 'reload') {
         echo "Reload page";
     } else {
         echo $api->getLNCmpProductsFeedFromServer($acc_data->userId, $acc_data->accountId, $acc_data->user_at, $acc_data->user_ts, $acc_data->sampleId);
     }
     break;
     // end linkedin
 // end linkedin
 case 'getTWHomeFeed':
     // $acc_data = $api->getAccountData ( $_POST ['i'], $_POST ['j'] );
     $acc_data = $api->getAccountDataByID($_POST['accountID'], $_POST['profileID']);
     if ($acc_data == 'reload') {
         echo "Reload page";
     } else {
         echo $api->getTWHomeFeedFromServer($acc_data->userId, $acc_data->accountId, $acc_data->user_at, $acc_data->user_ts, $acc_data->sampleId);
     }
     break;
 case 'getTWMentions':
     // $acc_data = $api->getAccountData( $_POST ['i'], $_POST ['j'] );
     $acc_data = $api->getAccountDataByID($_POST['accountID'], $_POST['profileID']);
     if ($acc_data == 'reload') {
         echo "Reload page";
     } else {
         echo $api->getTWMentionsFromServer($acc_data->userId, $acc_data->accountId, $acc_data->user_at, $acc_data->user_ts, $acc_data->sampleId);
     }
     break;
     //  send direct messages (inbox/outbox)
 //  send direct messages (inbox/outbox)
 case 'getTWInBox':
     // $acc_data = $api->getAccountData ( $_POST ['i'], $_POST ['j'] );