Facebook message throws an exception when some parts are not set

We are using the advanced sharing api to publish a message to the facebook account on behalf of an users identity token.

When you publish a message some parts can are not required, e.g. the link and the picture
- When we both include or exclude them the api returns ok
- When we include only the picture OR the link the api returns an error

So why is this? It should be able to publish a message with text and a picture but without a link...

Answers

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    Hi Remco,

    are you also using our Analytics API or do you just want to share content?

    Regards,
  • Hi Claude,
    we are using the sharing message api to publish messages, we use the short url for reporting. The analytics api is not used at the moment.

    Cheers,

    remco
  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    edited November 2017
    Hi Remco,

    if you don't use the Sharing API, then you could switch to our new Push API:
    http://docs.oneall.com/api/resources/push/

    It offers more possibilities and a better error handling than the Sharing API.

    Regards,

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.