WordPress.org

Ready to get started?Download WordPress

Forums

Feed Them Social
[resolved] Using this plugin on a secure site (2 posts)

  1. Michael
    Member
    Posted 5 months ago #

    I was having trouble with this site loading insecure Facebook content on my secure site. I looked into the code and came up with this:

    /wp-content/plugins/feed-them-social/feeds/facebook/facebook-feed.php on line 58, add &return_ssl_resources=true to the end of the URL string.

    $url1 = 'https://graph.facebook.com/'.$fts_fb_id.'?access_token='.$access_token.'';
    to
    $url1 = 'https://graph.facebook.com/'.$fts_fb_id.'?access_token='.$access_token.'&return_ssl_resources=true';

    Then change http: to https: on line 361 of the same file.

    echo '<a href="'.$FBlink.'" target="_blank" class="fts-jal-fb-picture"><img class="fts-fb-event-photo" src="http://graph.facebook.com/'.$event_id_number.'/picture"></img></a>';
    to
    echo '<a href="'.$FBlink.'" target="_blank" class="fts-jal-fb-picture"><img class="fts-fb-event-photo" src="https://graph.facebook.com/'.$event_id_number.'/picture"></img></a>';

    slickremix, can we get a checkbox option for SSL?

  2. slickremix
    Member
    Plugin Author

    Posted 5 months ago #

    Hey Michael,
    Thanks for using the Feed Them Social Plugin! We are going to add this to the list of things to update! Thanks for detailed description!

Reply

You must log in to post.

About this Plugin

About this Topic