Media is uploaded to Hootsuite twice. So we need to check whether the linked media image was already uploaded when posting a message to hootsuite.
- adds a new field on file entity (field_hs_id) to store hootsuite id of the media into the Drupal file entity
- Add a check on the postMessage call of the HootSuitePostManager to verify that the associated media image is not already uploaded
The postMessage method delete the existing post in hootsuite on every post update... I can't find why, and I would suggest to rather fetch existing post and edit it.
Closed: works as designed
3.0
Code