Skip to content

Scraping the social media preview image #187

Closed

Description

@ScottA38

Request

I would like that the 'Social preview' image was available in the metadata scrape.

Why

It would be useful for me as I would like to generate an 'opengraph' preview for my site. I have looked at the gh api but as far as I am aware this does provide such data.

What I have tried

Operating an XMLHttpRequest in Javascript on the appropriate repo URL in order to get back the opengraph meta attributes, but GitHub denies this because of CORS (I don't understand CORS very well so I don't really know how to circumvent this). If this is possible another way I would be interested to know

What would be useful

The url to the 'Social image' for each repo is included in the generated .yml data on a built Jekyll site.

If it is already included I am not aware because as far as I am aware browsing the data is not really feasible and it is only visible when the site is built.

Activity

  1. jekyllbot commented on Aug 25, 2020

    @jekyllbot
    Contributor

    This issue has been automatically marked as stale because it has not been commented on for at least two months.

    The resources of the Jekyll team are limited, and so we are asking for your help.

    If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

    If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

    This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.

  2. locked and limited conversation to collaborators on Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions