WordPress.org

Ready to get started?Download WordPress

Forums

Social
[resolved] How to customize the post sent to facebook & twitter? (3 posts)

  1. Anointed
    Member
    Posted 1 year ago #

    I have a custom post-type 'videos' which also has a metabox with post-meta 'custom_video_url'. This metabox stores a simple video url where the video itself supports oEmbed.

    What I want:
    For this 'video' post-type, when I broadcast to facebook, I want the actual video to show up on the timeline instead of the featured thumbnail.

    Right now, it seems that social has no idea that I even have custom post-meta fields available and so it does not even attempt to send the custom_video_url oEmbed link.

    Is this possible with social?

    If so, where do I find the documentation on how best to modify social so that I can do this?

    thanks

    http://wordpress.org/extend/plugins/social/

  2. Anointed
    Member
    Posted 1 year ago #

    I should mention, that I believe there are going to be a lot of people asking the same thing very soon. WordPress 3.6 focuses on post-formats, and I can imagine that a lot of people would rather send 'formatted' information to facebook, twitter such as the video once 3.6 is released.

    While my case is a bit different, post-types, vs. post-formats, the request and underlying question is basically the same.

    I'm kind of hoping there is a simple filter that I can attach an action to in order to change what is sent depending upon the data type available.

  3. Alex King
    Member
    Plugin Author

    Posted 1 year ago #

    There is code in Social that posts differently to Facebook based on post format, use that as an example along with the provided hooks to create your plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags