dadler / thumbnail-zoom

Thumbnail Zoom Plus is a Firefox plug-in which shows a full-size image pop-up when you hover over a thumbnail or image link. When you hover your mouse over a thumbnail or an image or video link, the add-on displays the full-size image or video still-frame in a floating window. Supported sites include Amazon, Bing, Facebook, Flickr, Google, IMDb, LinkedIn, Netflix, Pinterest, Reddit, Tumblr, Twitter, Yandex.ru, YouTube, Wikipedia, WordPress, Yahoo Images, and many more.
30 stars 7 forks source link

Broken on Facebook profile pictures #213

Closed bpsib closed 9 years ago

bpsib commented 9 years ago

It seems Facebook have changed something so it has stopped working for profile pictures. It now doesn't work at all for any profile picture on the hovercards.

dadler commented 9 years ago

Hmm... it still works for me.

What version of Firefox?
What version of Thumbnail Zoom Plus? What facebook URL -- eg facebook.com or a non-US URL?
What language is Facebook set to (if not English)?
Does it still work for Facebook images other than hovercard profile pics?

bpsib commented 9 years ago

It seems like it has fixed itself. It's working fine again. Not sure if it was just a temporary glitch.

mleyen commented 9 years ago

As of June 16, it appears to be broken again. When I press T to open the enlarged image in a new tab, it opens https://graph.facebook.com/<username>/picture?width=750&height=750, which shows this message :

{
   "error": {
      "message": "(#803) Cannot query users by their username (<redacted>)",
      "type": "OAuthException",
      "code": 803
   }
}

So I guess Facebook changed their API for some reason. We ned a way to retrieve the user ID instead.

This is only on hovercard profile pics; still working on regular photos.

Edit: Cyberfox 38.0.6 (custom Firefox build), Facebook language set to English (US).

Edit 2: Date changed from May 16 to June 16 (my bad).

dadler commented 9 years ago

Yep, I noticed that too. I took a quick try at fixing it, but no joy yet...