Linkedin API event type filter not working (FIX)
-
The filter functionality of Linkedin feed does not work. Choices are
- Updates of company
- Job offers (BETA)
- Any
The code is incomplete: the $event_type variable is never used in flow-flow/libs/FlowSocial/src/flow/social/FFLinkedIn.php
Just include it like this:
$this->url = "https://api.linkedin.com/v1/companies/{$this->company}/updates?oauth2_access_token={$token}&count={$num}&format=json"; if (isset($feed->{'event-type'}) && $feed->{'event-type'} != 'any'){ $event_type = '&event-type=' . $feed->{'event-type'}; $this->url .= $event_type; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Linkedin API event type filter not working (FIX)’ is closed to new replies.