Company Updates API returning some items “null”
-
This has nothing to do with the plugin, I’m just wondering if anyone else is seeing the same issue.
I’ve been successfully pulling LinkedIn updates via the API for some time but occasionally a company update item comes back as “null”. I’ve deciphered the issue to the point of recognizing that if the company update has a bit.ly personURL then the content comes through correctly. Ex:
"personURL":"http:\/\/bit.ly\/xxxxx","content":"http:\/\/s3.amazonaws.com\/photos.sproutsocial.com\/2018-03-09\/xxxx-xxxxxxx-xxxxxxx-xxxx\/xxxx-xxxxxx-xxxxxx-xxxxxx","title":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.
However, if it has any other domain link in the personURL then it returns title and description as null. Ex
“personURL”:”https:\/\/image-store.slidesharecdn.com\/xxxx-xxxxxxx-xxxxx-xxx-xxxxxx.jpeg”,”content”:”https:\/\/image-store.slidesharecdn.com\/xxx-xxxxx-xxxxxx-xxx-xx-original.jpeg”,”title”:null,”description”:null,”timestamp”:”Tue, 13 Mar 2018 17:41:41 +0000″
`
I’d welcome any thoughts or confirmation that anyone might provide.Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Company Updates API returning some items “null”’ is closed to new replies.