Exemple #1
0
 /**
  * To get LinkedIn company updates
  */
 function fnGetLinkedInCompanyUpdates()
 {
     $strAccess_token = $this->api_acc_token;
     $intCompanyId = "COMPANY ID";
     if ($intCompanyId > 0) {
         $intStart = 0;
         $intCount = 10;
         $intPage = 1;
         if ($intPage) {
             $intStart = ($intPage - 1) * 10;
         }
         $ObjLinkedin = new SMAPLinkedInOAuth2($strAccess_token);
         try {
             $arrCompanyUpdate = $ObjLinkedin->getCompanyUpdates($intCompanyId, $intStart, $intCount);
         } catch (Exception $e) {
         }
     }
 }