Support » Plugin: Magic Embeds » Can't use your plugin to embed photo sets.

  • Looks like the APP has to have the user_photos permission enabled in order to embed photo albums, and it is not a simple process for a casual user because it requires a lot of steps because of security reasons.

    I have used other plugin http://www.justin-klein.com/projects/facebook-photo-fetcher/ to create an account token and use it instead the token for the APP that your plugin creates. Now I can load the albums created in my FB account.

    Just install the other plugin, go to th settings and connect your site to your Facebook accounts. Then add this line to base_facebook.php:358

    $access_token = get_option('fpf-graph-token');

    So, here is my question. Could you add something to directly connect your plugin to an account, similar to facebook-photo-fetcher?

    Thanks in advance.

    https://wordpress.org/plugins/wp-embed-facebook/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Sebastian Echeverry

    (@sebaxtian)

    Other thing.

    If there is an album_id instead a set, you can add to class-wp-embed.php:149:

    if ( isset( $vars['album_id'] ) ) {
    	$fb_id    = $vars['album_id'];
    	$type     = 'album';
    	$juice = 'media/set/';
    }
    Plugin Author Miguel Sirvent

    (@poxtron)

    Hi sebaxtian.

    The new version supports the album_id var so you just need to update.

    On the other matter I have on the plans to do something like that for the premium extension. I think you can figure out how to do it using filters and actions.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't use your plugin to embed photo sets.’ is closed to new replies.