Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

php Flickr

Featured Replies

Hi,

 

I am trying to get images from a Flickr account into my website using PHP.

 

I have tried using phpFlickr but just dont understand it.

 

If anyone has done this before and has some links to help me I would really appreciate it.

 

Thanks in advance.

Which part are you struggling with?

It's a long time since I used phpFlickr but iirc, it was fairly simple to set up.

Post the code that isn't working.

  • Author

Which part are you struggling with?

It's a long time since I used phpFlickr but iirc, it was fairly simple to set up.

Post the code that isn't working.

 

Its more of a I dont know where to start, maybe I need to learn more PHP.

 

I started by downloading PHPflickr but wasnt able to get the basicks loaded. I also tried this tutorial hoping it would help me better understand but couldnt get this to work either.

 

I know the server can handle as we have other sites with flickr galleries. I have also checked all the file permissions and that's ok too. Don't know if this info helps but I did read that the permissions on these file make a difference, i could be wrong.

 

I cant get the basic ready to use stuff to work, maybe I am looking in the wrong places for the info I need. Sorry I cant place any code as I dont have anything other what I got from PHPflickr and Nettuts.

I've not looked at the code yet, but do you need and have an API Key?

 

Just checked - you need an API key to add to the auth.php file

Edited by NeRo

  • Author

I've not looked at the code yet, but do you need and have an API Key?

 

Just checked - you need an API key to add to the auth.php file

 

Thanks NeRo,

 

I already have an API key.

 

My problem was 2 things.

1. Havnt got much experience with API's so I was really lost. But after a lot of searching I eventually found this which made it all more understandable.

2. All the photo's I was trying to get where not public photos, they were all private so using this "flickr.people.getPublicPhotos" would show nothing till I make them public.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.