{"id":15288020,"url":"https://github.com/christopheradams/ueberauth_flickr","last_synced_at":"2026-01-04T18:38:09.690Z","repository":{"id":62430598,"uuid":"84225558","full_name":"christopheradams/ueberauth_flickr","owner":"christopheradams","description":"Flickr Strategy for Überauth ","archived":false,"fork":false,"pushed_at":"2020-09-19T04:04:44.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T21:03:08.792Z","etag":null,"topics":["elixir","flickr","flickr-api","oauth","plug","ueberauth","ueberauth-strategies"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christopheradams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-07T17:09:38.000Z","updated_at":"2020-09-19T04:03:46.000Z","dependencies_parsed_at":"2022-11-01T20:30:56.918Z","dependency_job_id":null,"html_url":"https://github.com/christopheradams/ueberauth_flickr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopheradams%2Fueberauth_flickr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopheradams%2Fueberauth_flickr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopheradams%2Fueberauth_flickr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christopheradams%2Fueberauth_flickr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christopheradams","download_url":"https://codeload.github.com/christopheradams/ueberauth_flickr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245206530,"owners_count":20577582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","flickr","flickr-api","oauth","plug","ueberauth","ueberauth-strategies"],"created_at":"2024-09-30T15:43:50.224Z","updated_at":"2026-01-04T18:38:09.659Z","avatar_url":"https://github.com/christopheradams.png","language":"Elixir","readme":"# Überauth Flickr\n\n\u003e Flickr strategy for Überauth.\n\n_Note_: Sessions are required for this strategy.\n\nInstall the latest version of Überauth Flickr from [https://hex.pm/packages/ueberauth_flickr](https://hex.pm/packages/ueberauth_flickr)\n\nDocumentation is available at [http://hexdocs.pm/ueberauth_flickr](http://hexdocs.pm/ueberauth_flickr)\n\nSource code is available at [https://github.com/christopheradams/ueberauth_flickr](https://github.com/christopheradams/ueberauth_flickr)\n\n## Installation\n\n\n1. Create an application at [Flickr App Garden](https://www.flickr.com/services/apps/create/apply/).\n\n1. Add `:ueberauth_flickr` to your list of dependencies in `mix.exs`:\n\n    ```elixir\n    def deps do\n      [{:ueberauth_flicker, \"~\u003e 0.3\"}]\n    end\n    ```\n\n1. Add the strategy to your applications:\n\n    ```elixir\n    def application do\n      [applications: [:ueberauth_flickr]]\n    end\n    ```\n\n1. Add Flickr to your Überauth configuration:\n\n    ```elixir\n    config :ueberauth, Ueberauth,\n      providers: [\n        flickr: {Ueberauth.Strategy.Flickr, []}\n      ]\n    ```\n\n1.  Update your provider configuration:\n\n    ```elixir\n    config :ueberauth, Ueberauth.Strategy.Flickr.OAuth,\n      consumer_key: System.get_env(\"FLICKR_CONSUMER_KEY\"),\n      consumer_secret: System.get_env(\"FLICKR_CONSUMER_SECRET\")\n    ```\n\n1.  Include the Überauth plug in your controller:\n\n    ```elixir\n    defmodule MyApp.AuthController do\n      use MyApp.Web, :controller\n\n      plug Ueberauth\n    end\n    ```\n\n1.  Create the request and callback routes if you haven't already:\n\n    ```elixir\n    scope \"/auth\", MyApp do\n      pipe_through :browser\n\n      get \"/:provider\", AuthController, :request\n      get \"/:provider/callback\", AuthController, :callback\n    end\n    ```\n\n1. Your controller needs to implement callbacks to deal with `Ueberauth.Auth` and `Ueberauth.Failure` responses.\n\nFor an example implementation see the [Überauth Example](https://github.com/ueberauth/ueberauth_example) application.\n\n## Calling\n\nDepending on the configured url you can initiate the request through:\n\n    /auth/flickr\n\nOr with options:\n\n    /auth/flickr?perms=delete\n\nBy default the permissions are the ones defined in your application\nauthentication flow on Flickr. To override them, set a `perms` query value on\nthe request path or in your configuration. Allowed values are \"read\", \"write\",\nor \"delete\".\n\n```elixir\nconfig :ueberauth, Ueberauth,\n  providers: [\n    flickr: {Ueberauth.Strategy.Flickr, [default_perms: \"delete\"]}\n  ]\n```\n\n## License\n\nPlease see [LICENSE](https://github.com/christopheradams/ueberauth_flickr/blob/master/LICENSE) for licensing details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopheradams%2Fueberauth_flickr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristopheradams%2Fueberauth_flickr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopheradams%2Fueberauth_flickr/lists"}