How to share my web page in my Facebook page?

I have one website how to share my link to Facebook page from my website

Welcome to the forums, @brahmikamineni10.

Please clarify what you want to do. Your title asks about sharing your web page on Facebook, while your post asks about sharing your Facebook page on your website.

Which are you trying to achieve, and how does the question relate to PHP?

yes i wan to share website title and content of this website

Are you asking how to share that on your own Facebook page, or how to add a Share button or other mark-up to allow others to share your web page?

(We don’t need to see your site to answer the question, so please stop posting links. It looks like self-promotion, which we don’t allow here.)

Using PHP not using any share button links

i am asking any Facebook API available for share our web page to Facebook pages?

1 Like

Thank you. That’s much clearer.

You can post what you like on your own FB page so why would you need an API?

I have to post some materials information in Facebook page But already that information exist in my website . At present every time i have to copy that information from my website to Facebook page That’s why i am thinking any Facebook API is available for share my website content to Facebook page.

1 Like

I’m not sure if this is exactly what you want, but you can put og (open graph) meta data in the head of your web pages, then when you share a URL to those pages, FB reads that data and uses it to display information about the page in your post.

I have just copied a link from a PHP page to a FaceBook Group…

FaceBook showed the following link snippet from the page with the option to click to visit the page:

Does this satisfy your requirements?

Yes i want to share my web page like this but need to develop this section in PHP

Write your PHP page, save to the server, test to ensure the PHP is displaying correctly, validate then post the link on Facebook.

Is there a problem that prevents you from doing the same as what I did?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.