Forum Index > Support & Feedback > Posting facebook images
 Reply to topic
Previous :: Next Topic
Author Message
Tom
Admin



Joined: 15 Dec 2001
Posts: 17827 | TRs | Pics
Tom
Admin
PostThu Oct 27, 2016 12:48 am 
I'm currently working on integrating facebook into our "pics" feature to make it easier to post facebook images in trip reports. Can you report back how long it takes each of the links below to scan your facebook photo albums as well as number of albums. Hit refresh a few times and ignore the first reading. Edit: it looks like this will only work for "test" users (until facebook reviews and approves). If anyone want to be added as a tester please let me know and I will add you to the list. https://www.nwhikers.net/fb.html?id=albums https://www.nwhikers.net/fb.html Note: you will need to grant NWH permission to access your facebook photos (a window will pop up). The first link should be faster since it only grabs the list of albums. The second link also grabs images and captions so should be slower, but I'm not sure by how much as I don't have many albums on facebook to test.

Back to top Reply to topic Reply with quote Send private message
Randito
Snarky Member



Joined: 27 Jul 2008
Posts: 9494 | TRs | Pics
Location: Bellevue at the moment.
Randito
Snarky Member
PostThu Oct 27, 2016 5:34 am 
Error message: "App Not Setup: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions."

Back to top Reply to topic Reply with quote Send private message
awilsondc
Member
Member


Joined: 03 Apr 2016
Posts: 1323 | TRs | Pics
awilsondc
Member
PostThu Oct 27, 2016 8:21 am 
same error App Not Setup: This app is still in development mode, and you don't have access to it. Switch to a registered test user or ask an app admin for permissions.

Back to top Reply to topic Reply with quote Send private message
Tom
Admin



Joined: 15 Dec 2001
Posts: 17827 | TRs | Pics
Tom
Admin
PostThu Oct 27, 2016 12:00 pm 
OK, should be publicly available now. Give it another try.

Back to top Reply to topic Reply with quote Send private message
Randito
Snarky Member



Joined: 27 Jul 2008
Posts: 9494 | TRs | Pics
Location: Bellevue at the moment.
Randito
Snarky Member
PostThu Oct 27, 2016 12:19 pm 
On I7 MacBook Pro running Win10 Chrome https://www.nwhikers.net/fb.html?id=albums 2975 milliseconds, first time, 328 milliseconds second time https://www.nwhikers.net/fb.html 308 milliseconds (Both times) Edge https://www.nwhikers.net/fb.html?id=albums 4061 milliseconds, first time, 922 milliseconds second time https://www.nwhikers.net/fb.html 616 milliseconds, 1061 milliseconds,

Back to top Reply to topic Reply with quote Send private message
Tom
Admin



Joined: 15 Dec 2001
Posts: 17827 | TRs | Pics
Tom
Admin
PostThu Oct 27, 2016 12:29 pm 
Thanks, can you also indicate number of albums. You may need to hit refresh to get the latest version. The main thing I'm looking for is whether there's a significant difference the more albums there are. If not, might as well grab everything at once when implementing the pics feature.

Back to top Reply to topic Reply with quote Send private message
Riverside Laker
Member
Member


Joined: 12 Jan 2004
Posts: 2818 | TRs | Pics
Riverside Laker
Member
PostThu Oct 27, 2016 7:40 pm 
First link: 1334 milliseconds Albums: 0 Second link: 1631 milliseconds Albums: 0 But I know I have albums! By the way, I really like the responsive changes. Much easier to read on a phone or tablet.

Back to top Reply to topic Reply with quote Send private message
Bedivere
Why Do Witches Burn?



Joined: 25 Jul 2008
Posts: 7464 | TRs | Pics
Location: The Hermitage
Bedivere
Why Do Witches Burn?
PostThu Oct 27, 2016 8:04 pm 
First Link: First try: 9942 milliseconds Albums: 0 2nd try: 538 milliseconds Albums: 0 3rd try: 518 milliseconds Albums: 0 Second Link: First try: 495 milliseconds Albums: 0 2nd try: 533 milliseconds Albums: 0 I have 42 albums.

Back to top Reply to topic Reply with quote Send private message
Tom
Admin



Joined: 15 Dec 2001
Posts: 17827 | TRs | Pics
Tom
Admin
PostThu Oct 27, 2016 8:44 pm 
Not sure what's going on. For those of you that don't see any albums can you go here: https://developers.facebook.com/docs/graph-api/reference/v2.8/album/ Click on: Graph API Explorer On the next page click on: Get Token > Get User Access Token make sure user_photos is checked and then click on: Get Access Token Then replace {album-id} with me/albums and hit submit. Does it show you any albums?

Back to top Reply to topic Reply with quote Send private message
Bedivere
Why Do Witches Burn?



Joined: 25 Jul 2008
Posts: 7464 | TRs | Pics
Location: The Hermitage
Bedivere
Why Do Witches Burn?
PostThu Oct 27, 2016 9:09 pm 
Yes, it shows my albums when I do that. "user_photos" was not checked by default when I got to that step, if it matters.

Back to top Reply to topic Reply with quote Send private message
Tom
Admin



Joined: 15 Dec 2001
Posts: 17827 | TRs | Pics
Tom
Admin
PostThu Oct 27, 2016 9:13 pm 
Thanks, I think I figured out the problem. Looks like facebook is only giving us access to your profile, not photos. Not sure how to fix it but I think I need to tinker with the authorization settings.

Back to top Reply to topic Reply with quote Send private message
Bedivere
Why Do Witches Burn?



Joined: 25 Jul 2008
Posts: 7464 | TRs | Pics
Location: The Hermitage
Bedivere
Why Do Witches Burn?
PostThu Oct 27, 2016 9:17 pm 
If it helps - the notification I got when I first clicked the links you provided said that Facebook would have access to my public profile. My security settings are such that the public cannot see my photo albums. Perhaps that's at the root of the problem?

Back to top Reply to topic Reply with quote Send private message
Tom
Admin



Joined: 15 Dec 2001
Posts: 17827 | TRs | Pics
Tom
Admin
PostThu Oct 27, 2016 9:44 pm 
It looks like we have to submit things for facebook review before we can access user photos. Until then it will only work for "test" users. https://developers.facebook.com/docs/facebook-login/permissions/#reference-user_photos I added those who responded so far as test users. It should work now (but only for you until facebook reviews and approves). If anyone else wants to be added as a tester let me know. Also, it seems there is a limit of 25 albums per call so i'll need to tweak things to get all albums.

Back to top Reply to topic Reply with quote Send private message
Riverside Laker
Member
Member


Joined: 12 Jan 2004
Posts: 2818 | TRs | Pics
Riverside Laker
Member
PostSun Oct 30, 2016 9:58 am 
After that change, now I get: first link: 6882 milliseconds Albums: 25 Second link: 1773 milliseconds Albums: 25 Second one shows lots of pictures!

Back to top Reply to topic Reply with quote Send private message
kite
Member
Member


Joined: 28 Sep 2009
Posts: 1413 | TRs | Pics
Location: Olympia
kite
Member
PostSat Dec 31, 2016 9:11 am 
So, Tom do you have a recommendation for a good photo sharing service? I have been using picasa but its getting real sucky.

Back to top Reply to topic Reply with quote Send private message
   All times are GMT - 8 Hours
 Reply to topic
Forum Index > Support & Feedback > Posting facebook images
  Happy Birthday kiliki, mtnmschist, adamcwatts!
Jump to:   
Search this topic:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum