By default, Twitter will return the URL for the avatar image of the tweet poster as the `og:image` value. However, if the `user_generated` attribute is true, we should not use this as the avatar URL as this will be an URL of an image in the tweet itself (e.g., an image belonging to a tweeted news story). |
||
|---|---|---|
| .. | ||
| engine | ||
| mixins | ||
| templates | ||
| discourse_onebox_sanitize_config.rb | ||
| engine.rb | ||
| file_type_finder.rb | ||
| helpers.rb | ||
| layout_support.rb | ||
| layout.rb | ||
| matcher.rb | ||
| oembed.rb | ||
| open_graph.rb | ||
| preview.rb | ||
| sanitize_config.rb | ||
| status_check.rb | ||
| template_support.rb | ||
| view.rb | ||