Skip to content
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

Usersnap Feedback - When I click share to Facebook via the icon, I get taken to Facebook and t[...] #985

Open
ascott opened this issue Feb 7, 2020 · 6 comments
Assignees
Labels
bug

Comments

@ascott
Copy link

@ascott ascott commented Feb 7, 2020

Sender: jesi.carson@gmail.com
Comment: When I click share to Facebook via the icon, I get taken to Facebook and the link and text show up - but there's no image. Can we make sure our social sharing links create image thumbnails properly?
Open #679 in Usersnap Dashboard

Usersnap Feedback - When I click share to Facebook via the icon, I get taken to Facebook and t(...)
Download original image

Browser: Chrome 79 (Macintosh)
Referer: https://participedia.net/case/5187
Screen size: 1920 x 1080 Browser size: 1920 x 839

Powered by usersnap.com

@ascott ascott self-assigned this Feb 7, 2020
@jesicarson

This comment has been minimized.

Copy link

@jesicarson jesicarson commented Feb 7, 2020

Screen Shot 2020-02-07 at 10 41 44 AM

@jesicarson

This comment has been minimized.

Copy link

@jesicarson jesicarson commented Feb 7, 2020

Screen Shot 2020-02-07 at 10 45 35 AM

@ascott ascott added the bug label Feb 7, 2020
@ascott

This comment has been minimized.

Copy link
Author

@ascott ascott commented Feb 7, 2020

it looks like in addition to the og:image tag, FB is now also requiring og:image:width and og:image:height. i will add these.

Screen Shot 2020-02-07 at 12 17 55 PM

@ascott

This comment has been minimized.

Copy link
Author

@ascott ascott commented Feb 7, 2020

from their documentation:

Using these tags will specify the image dimensions to the crawler so that it can render the image immediately without having to asynchronously download and process it.

so what is actually happening is that the image doesn't show up immediately because their service hasn't processed it yet, and the link hasn't previously been shared so the image is not cached in their service yet. by adding the width and height attributes, the image can be added immediately.

@ascott

This comment has been minimized.

Copy link
Author

@ascott ascott commented Feb 7, 2020

another issue here is that our images are using a base64 encoding, and FB requires that images use deflate or gzip content encodings.

Screen Shot 2020-02-07 at 12 50 51 PM

there is other image/aws work happening here: participedia/api#811, so i will add a sub task to make sure we update our content encodings.

@jesicarson

This comment has been minimized.

Copy link

@jesicarson jesicarson commented Feb 7, 2020

thanks @ascott !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.