WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Using this plugin on a secure site

[Resolved] Using this plugin on a secure site

  • Michael
    Member

    @mlawrencetargetedvictorycom

    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?

Viewing 1 replies (of 1 total)
  • Plugin Author slickremix
    Participant

    @slickremix

    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!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Using this plugin on a secure site’ is closed to new replies.