Facebook feed sharing on wordpress - facebook

https://developers.facebook.com/docs/reference/dialogs/feed/
I am trying to use that to have a share button on my content-blog.php page in wordpress. So on all the post excerpts that come up each one can be shared.
But if i put in the <?php the_permalink() ?> or <?php the_title() ?> in the appropriate sections they all have the same link and title.
Does anyone know how to make sure each button shares the appropriate stuff?
My site is dontstopdreaming.net you can see what happens when you click on the 'post to feed' text it will come up with same stuff for each post. Apart from the wrong data everything else is fine i have the app id and everything prepared.
Any help would be appreciated!

a.) Your site news/posts to facebook page/profile:
There is offical Facebook plugin for wordpress. It will solve your issue.
https://developers.facebook.com/wordpress/
The best wordpress to social networks plugin:
http://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/
other; 45+ useful wordpress plugins for facebook.-> http://www.tripwiremagazine.com/2013/06/best-wordpress-facebook-plugins.html
b.) Facebook feeds to your site
This plugin -> http://wordpress.org/plugins/facebook-feed-grabber/
This widget-> http://wordpress.org/plugins/fbf-facebook-page-feed-widget/
other; http://wordpress.org/plugins/jsl3-facebook-wall-feed/, http://wordpress.org/plugins/custom-facebook-feed/

Related

Adding 'Join Group' button in wordpress website

I have a wordpress website and I have added my facebook group feeds to my wordpress site using custome facebook feed plugin. Now I need to add a 'Join Group' button to my website along with the group members face just like the facebook page like button. I need to embed my facebook group like that. Is there any way to do so? I have googled but couldn't find anything useful.
Share the group to your Facebook page, click embed post, and copy the code over to Wordpress. This will give you the entire header and join button in Wordpress. I know this is an old post but maybe useful info for someone.

wrong site description when post new status on LinkedIn

I have a strange problem, in my website I use HibrydAuth to share status with Facebook, Twitter and LinkedIn.
All runs fine but I have a wrong description for the site in the LinkedIn page. An image could explain better than a lot of words, but I can't post images so, please, try to use a bit of imagination: this is a shared post from my web site
link to the website page
text shared from the website page
Here I have the link to my web site
here I would have the description of the web site
but I have the footer line of the web site
So my question is: how or where I can set the right description?
I checked in the LinkedIn account without result and the HibrydAuth library don't gives me options to set it.
Thank you for your help
Paolo

social media sharing and tracking

Is there a way to track when user visits our page from social media like facebook, twitter or pinterest?
is there a way to add some parameters to the url so that it will be easier to track?
<?php
echo $_SERVER['HTTP_REFERER'];
?>
This tiny php script enables you to know from where the user came from.
EDITS
As nyshangal asked for jsp code
JSP
request.getHeader("Referer");
I am not good at JSP. After googling I found that this above code will return the referrer from where the user came from.
Thank you

How to add facebook like in multiple blog post like your index file in wordpress?

i would like to implement or add a facebook like button in my wordpress blog. But this time, i want it on my index file or in a multiple blog post. The problem is when I copy pasted what facebook is generating for me is it only "likes" my domain name or my index file, not the blog post which is suppose to be liked.
What should i do to correctly add the facebook like button to work?
thank you very much!
it's very simple actually. You still need the codes for Facebook Like button but you have to modify it. Add the value <?php the_permalink(); ?> in the url to like and that's it.
Just make sure that you have the correct meta tags such as title and description so that facebook can successfully scrape your blogpost.

How do I make Facebook comments public for all on my website?

I've added facebook comments to my website using the following steps:
I created a new app herehttps://developers.facebook.com/apps/
In the auth dialog page for the app, I set 'default activity privacy' to 'Public'
I got the code for the comments box here https://developers.facebook.com/docs/reference/plugins/comments/
I used the HTML5 version of the code and added it to my site in the two places specified - right after the body tag and where I want the comments to appear.
I then opened the comments moderation tool for my new app.
https://developers.facebook.com/tools/comments?view=recent_comments
I clicked on 'Settings' and turned on 'Make every post public by default'
I also listed myself as a moderator.
I also added
<meta property="fb:app_id" content="{YOUR_APPLICATION_ID}">
inside the head tags for the page.
When I go to my site - the comments box appears to work ok. I can make a comment, but I can only see comments made by me. I cannot see comments made by people I am not friends with. How do I fix this problem? I'd appreciate any help.
Thanks
Every comment you leave on a facebook-comments driven web site is public, the same way it is on a fan page. Even a non facebook member can leave a comment.
I am looking for a way to turn it off and get the same permissions you have on your facebook wall. Currently, everybody who has the link can see the page content and all previous comments.
Had the same issue and figured out that Facebook grabs urls differently for displaying and submiting comments.
If the url you're providing him in data-href (e.g. short url) is different than the window.location url (url in address bar), then it's probably the case.
P.S. I know that the question is from 2011, but someone else may show up with the same problem.