• Resolved edward_plainview

    (@edward_plainview)


    Author of the Broadcast plugin here.

    Is there a way to make the Socialize module reload its settings via code?

    Background: the broadcast plugin copied posts from one site in a network to another. Each site in the network has its own socialize settings (another facebook page).

    I would like to make Socialize reload its settings so that, during the post creation on each site, use the socialize settings from each site instead of the settings from the origin site.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @edward_plainview,

    Thank you for waiting while we were working on a backlog of support requests.

    To ensure we address your concern accurately, could you please provide a bit more clarity on your reference to ‘Socialize’? Are you referring to Jetpack Social (formerly known as Publicize), particularly its feature for automatically sharing content?

    Gaining a clearer understanding of your specific needs and the context will enable us to direct your query more effectively to our development team for a detailed investigation.

    Thank you!

    Thread Starter edward_plainview

    (@edward_plainview)

    I don’t know what the module is called today, but it’s the module that sends posts to Facebook.

    After publishing the post, the post is sent to Facebook.

    After that, my Broadcast plugin does a switch_to_blog to site 2 in the network and after publishing the same post to site 2, the post is sent to site 1’s facebook.

    My goal is to tell Jetpack, after switch_to_blog, to load the facebook settings for site 2, so that the post can correctly be sent from site 2 to site’s facebook.

    Hi @edward_plainview,

    It looks like you are indeed referring to Jetpack Social, who takes care of sharing posts automatically to your social media accounts.

    I am not sure though about the specific use you’d like to do as I am not sure how it would work. Each website has its own posts and tables, but also its own Jetpack connection (who takes care of sharing the posts), is there any reason why you’d like to interconnect two different websites in terms of publishing posts to a site’s Facebook page?

    Thread Starter edward_plainview

    (@edward_plainview)

    I don’t quite know the user’s exact use case, but lots of broadcast users are franchises or schools or whatever, and have a central publishing location for things.

    I’m figuring, in this case, the user is publishing a post from the central location to many other locations (sites). But social should be posting to the facebook of each location, not the originating site’s facebook.

    So therefore I need a function in social that tells it to reload the facebook settings for the current_blog_id, so that it correctly posts to that facebook instead of the originating site’s facebook.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @edward_plainview

    Thanks for the additional information. Per our Scope of Support, we cannot advise on custom code.

    I’d recommend looking through our developer documentation to see if there is a function that will work for this:

    If you can’t locate a function in there, you’d probably need to look through the code to see if you can find a solution:

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reload Socialize settings with code’ is closed to new replies.