Skip to content

How to get the url of FB's post? #14

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

Closed
dennisat opened this issue Jul 2, 2022 · 6 comments
Closed

How to get the url of FB's post? #14

dennisat opened this issue Jul 2, 2022 · 6 comments

Comments

@dennisat
Copy link

dennisat commented Jul 2, 2022

This is not a bug or issue report... but seems to be the only one that can answer.

For instance, load this address https://www.facebook.com/9gag/posts/pfbid024mcPB6f5Q5DWh1XZUkShUznrVFrkpzRfy1krtCA4H5sJQ67Bd4vjWRnqkkRG1U8tl
This is a Post address... a sort off. This address cannot be used as url for you component.

What's the proper way to get a link of a Facebook post to be used in react-social-media-embed?

@dennisat
Copy link
Author

dennisat commented Jul 9, 2022

is anybody out there...

@dennisat
Copy link
Author

dennisat commented Sep 6, 2022

@justinmahar is this project deprecated?

@justinmahar
Copy link
Owner

justinmahar commented Oct 31, 2022

@dennisat

Getting The URL Of A Facebook Post

Select the ellipsis button next to the post and choose Embed.

1

Then, click "Advanced settings"

2

That will bring you to a page that allows you to generate code for the post. Within that code, you can find the link.

3

4

So for the post above, the link would be https://www.facebook.com/9gag/posts/10162296746226840. I just tried this link with the demo and it works.

I'll have to add these instructions to the docs since Facebook has this buried. Thanks for opening the issue!

@dennisat
Copy link
Author

dennisat commented Nov 1, 2022

Thanks @justinmahar it works

@Jenietoc
Copy link

Hello Guys, this is still working?

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

No branches or pull requests

3 participants