Skip to content

Ruby on Rails: Replace Flickr API Project #28285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 of 3 tasks
AhmedTheGreatest opened this issue Jun 27, 2024 · 18 comments · May be fixed by #29577
Open
2 of 3 tasks

Ruby on Rails: Replace Flickr API Project #28285

AhmedTheGreatest opened this issue Jun 27, 2024 · 18 comments · May be fixed by #29577
Assignees
Labels
Content: Ruby on Rails Involves the Ruby on Rails course Status: Help Wanted This issue can be assigned to other contributors Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues Type: Existing Lesson Involves an existing lesson or lessons

Comments

@AhmedTheGreatest
Copy link
Contributor

AhmedTheGreatest commented Jun 27, 2024

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.

@CouchofTomato
Copy link
Member

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

@CouchofTomato CouchofTomato added Type: Existing Lesson Involves an existing lesson or lessons Content: Ruby on Rails Involves the Ruby on Rails course labels Jun 27, 2024
@AhmedTheGreatest
Copy link
Contributor Author

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

@CouchofTomato CouchofTomato added the Status: Help Wanted This issue can be assigned to other contributors label Jun 28, 2024
@AhmedTheGreatest
Copy link
Contributor Author

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.

Copy link

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

@github-actions github-actions bot added the Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues label Jul 30, 2024
@weeezik
Copy link
Contributor

weeezik commented Oct 8, 2024

@AhmedTheGreatest Find anything? Still want help?

@github-actions github-actions bot removed the Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues label Oct 8, 2024
@AhmedTheGreatest
Copy link
Contributor Author

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

@weeezik
Copy link
Contributor

weeezik commented Oct 17, 2024

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.

@AhmedTheGreatest
Copy link
Contributor Author

@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.

Copy link

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

@github-actions github-actions bot added the Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues label Nov 18, 2024
@JoshDevHub
Copy link
Contributor

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

@AhmedTheGreatest
Copy link
Contributor Author

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.

@github-actions github-actions bot removed the Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues label Mar 18, 2025
@NikEmman
Copy link

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.

@CouchofTomato
Copy link
Member

Seems our best bet @NikEmman

@NikEmman
Copy link

NikEmman commented Apr 1, 2025

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

@JoshDevHub
Copy link
Contributor

JoshDevHub commented Apr 1, 2025

@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.

@NikEmman
Copy link

NikEmman commented Apr 1, 2025

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.

@JoshDevHub
Copy link
Contributor

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

@NikEmman NikEmman linked a pull request Apr 1, 2025 that will close this issue
7 tasks
@JoshDevHub JoshDevHub marked this as a duplicate of #29641 Apr 25, 2025
Copy link

github-actions bot commented May 2, 2025

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

@github-actions github-actions bot added the Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues label May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content: Ruby on Rails Involves the Ruby on Rails course Status: Help Wanted This issue can be assigned to other contributors Status: Stale This issue/PR has been inactive for over 30 days and will be closed if inactivity continues Type: Existing Lesson Involves an existing lesson or lessons
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants