These forums are your way of communicating with the community of people developing and using tools provided by the OneAll platform. The forums are run by the community and moderated by the OneAll team during office hours.
Please stick to technical issues - and remember, no confidential information - these are public forums!

Unable to share posts to any social websites except Twitter

We are using the OneAll API on our website tunetrax.com for social sharing. We are using a CMS called Jamroom. Our users are reporting that when they try to share their posts through our platform to their connected media networks (Facebook, LinkedIn, Twitter, etc.), their posts are not showing up on those social media sites. We have made sure that all of our settings are correct and were advised by a OneAll support staff previously that the settings were correct and the issue must be on our side. With the help of the developers of our CMS, we spent several days trying to find the cause of the issue was but could not find anything on our end. However, what we did find is that we are getting successful status codes from the OneAll API for all of the configured sharing networks. Upon seeing this, our CMS developers have determined that the issue is not on our side. Not sure what could be causing the issue here, but according to the API response, these posts should be getting shared and they are not. Any help here would be much appreciated. Thank you!

Answers

  • edited April 27

    Hi Adam,

    could you please give me your OneAll subdomain?
    This will allow me to have a closer look at our logs.

    Regards,

  • The subdomain is "tunetrax".

  • Hi Adam,

    could you please do another push? I have now enabled our internal debugging for your application. Please keep me informed once you have done it and I will have a closer look.

    Regards,

  • Just did another push. Works for Twitter, but not for facebook or linkedin. Here are the profiles it should be showing up:

    https://www.facebook.com/bellabonaducci
    https://www.linkedin.com/in/isabella-bonaducci-215206115/detail/recent-activity/

  • edited May 11

    Below you can see the result of your push.

    • Facebook : You do not have the permission to post on behalf of that user.

    FIX: Enable the permission "Publish Actions - Post comments and likes on behalf of a user" in the Facebook settings in your OneAll account and then have the user re-login in order to update the permissions.

    • LinkedIn: The content that you are trying to post is incomplete.

    FIX: Either include the node [text->body] and/or both nodes [link->caption] and [link->url]. This is something that only Jamroom can fix.

    • Twitter: The user that you are trying to post for has no Twitter identity.

    FIX: Have the user connect his Twitter account.

    Our API always returns the error and a corresponding message. Jamroom should parse those error message and display them to their users.

    {
    
        "response":{
            "request":{
                "date":"Thu, 10 May 2018 17:07:12 +0200",
                "resource":"\/sharing\/messages.json",
                "status":{
                    "flag":"error",
                    "code":400,
                    "info":"Your request could not be processed due to an error"
                }
            },
            "result":{
                "data":{
                    "sharing_message":{
                        "sharing_message_token":"23389f05-6ba2-4244-9301-b9005c3e9e48",
                        "date_creation":"Thu, 10 May 2018 17:07:12 +0200",
                        "publications":{
                            "count":3,
                            "entries":[
                                {
                                    "status":{
                                        "flag":"error_message_is_not_permitted",
                                        "code":403,
                                        "message":"The provider did not accept the message: you do not have the permission to post on behalf of the user"
                                    },
                                    "provider":"facebook",
                                    "user_token":"8a226d60-67de-47bb-831c-0f430994ecc6",
                                    "identity_token":"ca95808c-26f9-4962-b7fb-dbc1a61987da"
                                },
                                {
                                    "status":{
                                        "flag":"error_message_is_incomplete",
                                        "code":400,
                                        "message":"The provider did not accept the message, it is incomplete: The message must contain the node [text->body] and\/or both nodes [link->caption] and [link->url]"
                                    },
                                    "provider":"linkedin",
                                    "user_token":"8a226d60-67de-47bb-831c-0f430994ecc6",
                                    "identity_token":"4811bb21-022b-4caf-ae6d-56e7f3b37025"
                                },
                                {
                                    "status":{
                                        "flag":"error_user_has_no_identity_for_this_provider",
                                        "code":404,
                                        "message":"The API could not publish the message: the user has no identity for Twitter"
                                    },
                                    "provider":"twitter",
                                    "user_token":"8a226d60-67de-47bb-831c-0f430994ecc6"
                                }
                            ]
                        }
                    }
                }
            }
        }
    }
    
  • I did the Facebook fix by enabling "Publish Actions" and did another push, but post is still not being shared to Facebook.

    As for LinkedIn, I will contact the Jamroom developers about implementing the fix noted above.

    And for Twitter, the post was successful. I am not sure why the API is returning that error. The account we are testing with definitely has Twitter connected and has a Twitter identity, and posts are being shared as expected. You can see the twitter page here: https://twitter.com/bellarecord.

  • Sharing to Facebook is still not working. Any other suggestions on how to fix? Thank you.

  • Both [text->body] and the [link->caption] [link->url] should be being sent from jamroom. When I try to debug the situation I send this:

    and the response is

    Linkedin responds with 'error_message_is_not_permitted' status

  • edited May 17

    Thanks for the input, Michael. However, the main issue I am still having is with Facebook sharing. I am working with Jamroom to resolve LinkedIn.

    EDIT: Whoops, I didn't realize you were the same Michael from the Jamroom team.

Sign In or Register to comment.

Welcome!

Please sign in to your OneAll account to take part in the discussions.

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