Open Eldenroot opened 5 years ago
Facebook returns that value for the avatar, which resolves to a valid image for browsers. Of course it doesn’t include the image extension, thus why MyBB fails to recognize it as an image.
Resolving the image through PHP to get the actual image url would be nice, but too slow. Therefore, as I value speed over this little caveat more, I won’t edit the plugin like this. What I can do is try to bypass MyBB’s extension check in the ACP. It’s not really top priority though so it won’t be out soon.
It is quite annoying... all the time edit this URL field manually.
Your plugin adds automatically something like this into Avatar url https://graph.facebook.com/10213283714992916/picture?width=250&height=250
but it is not allowed to be used by MyBB and it gives me an error when I wanna edit any user registered via Facebook. It is not a valid image file, there is some kind of url verification. So I have to delete this url, save the user and then it is fine.