• Mike.
    Your plugin is great and working nicely on client website however I have some questions.

    The Facebook album has 180 photos however the app refuses to go beyond 130.
    Q. Any help on this ?

    I am unsure about the sync function within admin.
    Q. Can you tell me what this button does AND
    Q. Do I need to manually click this to update the WP website page with newly uploaded Facebook images ?

    Thanks for your help and apologises if this is covered elsewhere and I missed it.

    https://ww.wp.xz.cn/plugins/fb-photo-sync/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Mike Auteri

    (@mauteri)

    Hi kred99,

    Can you send me the Facebook page and the album you are trying to import? I can look and see if there’s a bug there and fix it.

    The “sync” button will update the album with new images or meta data that may be there. Currently, the plugin doesn’t autosync, though that is planned for the future, at least to some capacity. So yes, you can manually click that and the album will sync with any new data that may be available. Let me know if you notice any other issues, I just quickly pushed out an update to fix a huge issue, so there may be some unexpected bugs.

    Take care,
    Mike

    Thread Starter kred99

    (@kred99)

    Hi Mike,
    Thanks.
    Ah the sync is going to be an issue as the client will not be anywhere near the WP page to manually sync.

    Q. Can this be done quite crudely by a php script. What does it call programming wise ?

    I know PHP but WordPress not so much .

    Regards

    Plugin Author Mike Auteri

    (@mauteri)

    Not really, currently I’m only using the JavaScript SDK for ease. I will need to switch over to the PHP SDK for this sort of functionality and have it run a pseudo cron (WordPress has a function called wp_schedule_event) that would need to make the call out to Facebook over a certain interval.

    If you want to hack or extend the plugin you can probably do what you need to with a cron and using the PHP SDK, and then hooking into the function I use to save the data. All data is saved as a serialized object in the options table.

    Thread Starter kred99

    (@kred99)

    Mike.
    Thanks for quick reply.

    I will check out the SDK.

    Back to the photo count the page with the album is Facebook.com/happyhoundshouse and the album is called mobile uploads. As mentioned it shows 180+ images but the WP site shows 130. When the WP plugin sync is clicked it says importing 186 images but the album tab only shows 130.

    PS The site page is http://www.thehappyhoundshouse.com/face-photos/

    I will check if it is a setting on the template but any help is appreciated.
    Regards

    Plugin Author Mike Auteri

    (@mauteri)

    Hi kred99,

    I didn’t have a problem importing the whole album. First I would try to sync it. If that doesn’t work, try to delete and re-add it (the shortcode will stay the same), if that doesn’t work, try unchecking the box “Import images to WordPress media library?” before you import it. The images will then just use the images provided by Facebook rather than save the images to WordPress. Maybe you have a space limit on your server? I have no idea. You can also check the Network tab (if you use Chrome) and see if there is anything weird in the request. In order to prevent time outs, the object is first created, then it sends images over one at a time.

    Mike

    Thread Starter kred99

    (@kred99)

    So I have deleted the albums.
    Tick the Mobile album to import
    UnTick so as NOT copying images to WP library
    Shows importing 189 images and imports them
    Go to Album tab and it shows 130

    The WP site spookily never gets the latest image but the 2nd latest is always there.
    I will check this end of things as you say, see if problem is our side.

    Plugin Author Mike Auteri

    (@mauteri)

    Ok, let me know what you find out. Thanks.

    Thread Starter kred99

    (@kred99)

    Mike.

    1. I can’t see any limits on template or server.
    2. Database is 4MB size out of 150MB.
    3. Using Safari not Chrome.
    4. wp_options table shows entry for ‘fbps_album_311522535674470’ with partial data =

    a:4:{s:5:"items";a:130:{i:0;a:6:{s:2:"id";s:15:"479852585508130";s:6:"photos";a:9:{i:0;a:3:{s:6:"height";i:1955;s:6:"source";s:101:"https://scontent.xx.fbcdn.net/hphotos-

    The only place I can see 130 mentioned ?
    I may be completely off but does this give any clues. ?

    Plugin Author Mike Auteri

    (@mauteri)

    Sorry, that doesn’t tell me anything. If you use Chrome and checkout the Network tab in the dev tools, you can see all the communication between the client and the server via admin-ajax.php or the Facebook API and see where it’s failing to grab all the images. I tried importing your album both in Chrome and Safari and have had no issues.

    Thread Starter kred99

    (@kred99)

    Mike.

    I shall carry on investigating photo import, however unless I can get automatic sync working that would be a show stopper.

    Once again great plugin and I shall monitor for any updates in near future.

    Thanks for all your help with this.
    Good luck πŸ™‚

    Plugin Author Mike Auteri

    (@mauteri)

    Thanks, I’ll update this ticket when the feature is available. Take care.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Photo limits and sync button’ is closed to new replies.