flickr / flickr-sdk

Almost certainly the best Flickr API client in the world for node and the browser
https://www.flickr.com/services/api
MIT License
131 stars 29 forks source link

Remove recentActivity feed #149

Closed jeremyruppel closed 2 years ago

jeremyruppel commented 2 years ago

This has been dead for years

pdokas commented 2 years ago

Incidentally the URL in that (with a s/me/36521981547@N01) is: https://api.flickr.com/services/feeds/activity/all?user_id=36521981547@N01 and THAT actually hits a 404 that returns an HTML error page. Which is not great.

Editing the host to be the correct https://www.flickr.com/services/feeds/activity/all/?user_id=36521981547@N01 results in this correct error message:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xmlns:flickr="urn:flickr:user"
      xmlns:media="http://search.yahoo.com/mrss/">

  <title>Recent activity</title>
  <link rel="self" href="http://www.flickr.com/services/feeds/activity/all/?user_id=36521981547@N01" />
  <link rel="alternate" type="text/html" href="https://www.flickr.com/notifications"/>
  <id>tag:flickr.com,2005:/recentcomments</id>
  <icon>https://farm1.staticflickr.com/932/buddyicons/36521981547@N01.jpg?1524003597#36521981547@N01</icon>
  <subtitle></subtitle>
  <updated>1970-01-01T00:00:00Z</updated>
  <generator uri="https://www.flickr.com/">Flickr</generator>

<entry>
    <title>This feed has permanently moved</title>
    <link rel="alternate" type="text/html" href="http://www.flickr.com/notifications"/>
    <id>tag:flickr.com,2005:/comment/feedmoved</id>
    <published>2021-12-15T16:03:44Z</published>
    <updated>2021-12-15T16:03:44Z</updated>
    <content type="html">This feed has been deprecated and will no longer be updated.</content>
    <author>
      <name>Flickr Staff</name>
      <uri>http://www.flickr.com</uri>
      <flickr:nsid></flickr:nsid>
    </author>
    <displaycategories>
            </displaycategories>
    </entry>

</feed>

And that's why https://www.flickr.com/services/feeds/activity/all/?user_id=36521981547@N01 is also good for non-inclusion here.