WordPress.org

Ready to get started?Download WordPress

Forums

Add Link to Facebook
AddLinktoFacebook PHP Function To Call (2 posts)

  1. bruno21
    Member
    Posted 1 year ago #

    Good morning

    I just discover your plugin.

    I am looking for a way to add link to facebook only using some php function call (I means main function call with $postID as parameters)

    Ideally, I would like something as

    $post_ID = wp_insert_post ($post_array....);

    AddLinktoFacebook_Function_To_Call ($post_ID);

    Maybe I read to quicky you FAQ, but I only found sortcode. What is the php function name of this AddLinktoFacebook_Function_To_Call() (I guess define in your plugin) to call ?

    Also, because I want only add link to facebook only when AddLinktoFacebook_Function_To_Call() is call, what is the way to stop automaticaly link to facebook publication when I edit post (or publish post using the wp_insert_post() ) . I ask this question because in 'admin tab' of you plugin setting, I can not select "None" for the 'Required capability parameter'.

    Thank a lot by advance for you replay

    http://wordpress.org/extend/plugins/add-link-to-facebook/

  2. bruno21
    Member
    Posted 1 year ago #

    Nobody to answer ?

    Nobody knwo why this plugin is not working with WP function wp_insert_post() in the latest Worpress version ?

    Was working before with wp_insert_post() WordPress 3.4.2. But not now...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic