How to implement facebook share functionality in react.js? - facebook

I want to implement facebook share functionality in react.js. Now the issue is I can't add meta tags dynamically in the react.js as the head tag is out of scope. Any one can help me regarding this?
Thanks in advance

Related

Anyone have a Working Example of a Facebook Share Button Using The Feed Dialog Method?

I have been looking around for a working example of a Facebook share button using the Feed Dialog method (method number 2 in this article: http://www.phpied.com/speed-geeks-guide-to-facebook-buttons/)
Does anyone have a js fiddle with an example of this?
Thanks in advance!
The example you gave has an one being:
Share
Or Facebook directly for greater detail
https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.4

How to make widgets that show in facebook comments

I wondered if anyone know how soundcloud has been able to create a widget that plays directly in posts and comments on facebook?
Is this done via a specific deal they made with facebook, or is there actually a way to create a widget display when a certain type of link is shared?
Any insight on how this works would be great.
Thanks.
read the FB documentation on open graph - og:video tag.
facebook allows to show SWF inside the posts/comments. So all you need is to create a flash player for your content.

Images are not displaying in Facebook Share

I am using facebook sharer.php, to share a link from my site to the facebook wall. Following is the url, I am using to get this done.
https://www.facebook.com/sharer/sharer.php?s=100&p[title]=title_to_be_shared&p[url]=link_to_be_shared&p[images][0]=image_path
I am aware that sharer.php is deprecated. But I have searched a lot to implement this share feature. I found only this. But in this, the images are not rendered properly in all cases. In some cases the images are not loading while sharing.
Please help me to overcome this. Or if there is another API to get this done please let me know...
Thanks in advance!
Regards,
Raju
The sharer.php method is deprecated and no longer supported. As far as I can tell, the best replacement for sharing a page of your site is the Feed Dialog.

Creating a Facebook page and access it via shorturl

Hey Guys, so Ive created a Facebook page, no content as yet, really, i would like to know if it is possible and if so, how do I set it to be accessible from eg: www.facebook.com/mypage ?
Thanks in advance
Your page needs to have at least 25 fans, before you can create a custom name for it. For more info, read the official Facebook note on Usernames for Facebook Pages.

Crawling a Facebook fanpage

I want to cral a facebook fanpage to get the details of all the members who are fans of that page. I there any function in the face book API which will help me. Or is ther any other way I can do this???
You might try DineJS, a programmable crawler:
http://code.google.com/p/dinejs/wiki/Samples
Scrapy is also a nice framework for writing custom crawlers.