curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Ruby on Rails: Replace Flickr API Project

Open AhmedTheGreatest opened this issue 1 year ago • 19 comments

Checks

Describe your suggestion

Problem

Many users have reported encountering issues with the Flickr API project within TheOdinProject curriculum. Specifically, problems include difficulties with signing in, logging in, and frequent "Account creation failed" errors.

Issues with Flickr

  • Account Creation and Login Problems: Users often face errors when attempting to create accounts or log in to Flickr.
  • Outdated Platform: Flickr is considered somewhat outdated, which may affect the learning experience and the relevance of skills acquired.

Solution

I suggest that we can use some other API, for example Imgur's API. Its modern, user-friendly, and more widely used.

Path

Ruby / Rails

Lesson Url

https://www.theodinproject.com/lessons/ruby-on-rails-flickr-api

(Optional) Discord Name

tornado_77

(Optional) Additional Comments

I will see if I can help depending on where this issue goes.

AhmedTheGreatest avatar Jun 27 '24 06:06 AhmedTheGreatest

I'm not against this but it's a meaty bit of work.

CouchofTomato avatar Jun 27 '24 16:06 CouchofTomato

Yeah I agree, it is alot of work. But I think it will be worth it. I myself am stuck on that project.

AhmedTheGreatest avatar Jun 27 '24 16:06 AhmedTheGreatest

I will try to do some research on how we could change the lesson (or if we even should) to Imgur API. I am also stuck on this project right now.

AhmedTheGreatest avatar Jun 29 '24 06:06 AhmedTheGreatest

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Jul 30 '24 01:07 github-actions[bot]

@AhmedTheGreatest Find anything? Still want help?

MichaelKihanya avatar Oct 08 '24 00:10 MichaelKihanya

I didn't really look into it much. But I have seen more and more people having issues with Flickr on the discord server.

AhmedTheGreatest avatar Oct 16 '24 11:10 AhmedTheGreatest

I'm not on the project yet - if the inspiration is still there we can circle back to it. Might take me a bit to get there. Let me know if you want help on it at any point, I can help. I just don't have the capacity to the task on fully at the moment.

MichaelKihanya avatar Oct 17 '24 03:10 MichaelKihanya

@weeezik Sure. I am currently not working on this at all. But yeah the problem still persists. So any help on this would be great.

AhmedTheGreatest avatar Oct 18 '24 13:10 AhmedTheGreatest

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Nov 18 '24 02:11 github-actions[bot]

New issue that bumps this in priority a lot: Flickr now requires users to be subscribed to a Flickr PRO premium account in order to generate API keys. As opposed to the mysterious account creation issue that only effected some users, this will affect all users.

Link to discord discussion: https://discordapp.com/channels/505093832157691914/514204607770001411/1351113608364560404

Image

JoshDevHub avatar Mar 17 '25 17:03 JoshDevHub

Hmm yeah, that does make this issue much more prevalent then. It basically means that one of the projects in the curriculum is now locked behind a user being on a paid subscription to a third-party application.

AhmedTheGreatest avatar Mar 17 '25 18:03 AhmedTheGreatest

Hello there. I have done some research for a replacement. The best I came up with is Pexels.

Features free account creation and free API key generation, with a limit of 20.000 requests per month, plenty for the curriculum's needs. Should I go ahead and write some instructions for setting up an account, API key acquisition etc?, in the style of the current lesson instructions for Flickr?

Here are the Pexel API docs.

There is also a gem that simplifies the API calls, it's the pexels-ruby gem.

NikEmman avatar Mar 31 '25 07:03 NikEmman

Seems our best bet @NikEmman

CouchofTomato avatar Mar 31 '25 12:03 CouchofTomato

I have re-written the lesson with instructions to use Pexel instead of Flickr. On my curiculum fork I deleted the old project_flickr_api.md and added a new file, project_pexel_api.md.

However now I am unsure on how to proceed. Should I just go ahead and do a PR? I couldn't figure out how the md files are pulled by the main TheOdinProject app to be rendered as content. Does it expect the old file name or will it render the apis folder contents?

@CouchofTomato

NikEmman avatar Apr 01 '25 10:04 NikEmman

@NikEmman Thank you for your interest in contributing on this.

Don't delete the old file. Instead, move it to archive/. To actually get the new project on the site, you'll need a PR to the main site repo that removes the old lesson from the Rails course lesson fixtures and adds the new one. But you don't have to worry about that just yet. Assuming you have some content that's ready to go, you can go ahead and PR that. Once it's reviewed and approved, then we can talk more about the process for getting it to actually be on the site.

JoshDevHub avatar Apr 01 '25 16:04 JoshDevHub

Thanks @JoshDevHub . I picked the issue because it was flagged as stale, thus assumed no-one was on it. You are absolutely right, should have waited for the assignment. Hopefully I didn't waste anyone's time.

NikEmman avatar Apr 01 '25 16:04 NikEmman

Oh you didn't waste anyone's time. I edited my post after noticing the above conversation with timato. You did everything fine 😃

JoshDevHub avatar Apr 01 '25 16:04 JoshDevHub

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar May 02 '25 02:05 github-actions[bot]

The API key is now only available for pro users - you have to pay to complete this element of the course.

Claire135 avatar Jun 02 '25 12:06 Claire135

This issue is stale because it has had no activity for the last 30 days.

github-actions[bot] avatar Jul 03 '25 02:07 github-actions[bot]