I have a page with like button assigned to it. I have some textual contexts on this page, I want to put a Facebook Like button under each text (I do not have different url for each text para on this page).
I want the count to be updated for the page also as user clicks on Like button under any text.
If you can tell me how to hide count near the Like button then also my problem is resolved.
Example: http://www.santabanta.com/trivia.asp?sms=1&catid=1
You could subscribe to edge.create event and reload the buttons after a user clicks like.
Related
I am using Addthis plugin. I have an "F" icon on the page. I want it to work as recommend functionality.
is there anyway to do following
if somebody click on F, it should work as recommend is clicked, and on move over this F, it should just show the Count of recommend
we do not want to show standard recommend box with count
Secondly question, when i click on any like button it also show another Share Popup, but even even if i cancel this popup, still my timeline show i have recommended that particular page.. then what is use of that popup.
You can use the Facebook Dialog JavaScript to show a Share dialog for a custom button. Or use the Send Dialog button to create a private share dialog.
The "Comment Box" on the Like Button is optional, it's not required. If you enter a comment, it adds it to the Like post that appears on your timeline. But you can still like a page without entering a comment. A Like with a comment appears more prominent on the user's timeline.
Now our requirement like this:
We have a like button on one page, user can click that like button and type comment in the popup comment box.
Question is how to get all the comment of like button of specified page? We want to show all these comments in another place of this page.
We have a like button on one page, user can click that like button and type comment in the popup comment box.
If the user types a comment into the box popping up when using the like button, the result is not a comment, but a link share of the URL – so that’s an individual post on that user’s wall.
I had a little look around the FQL tables, but I did not find anything that would give you the resulting post without knowing the actual user who used the like button.
I have a page that allows users to "like" certain elements. The liking is similar to a facebook-like, but for various reasons (such as being able to easily manipulate the data), the liking is for users of my site, and not necessarily for facebook users, and the data remains on my site. So there is a "mysite-like" button. However, I'd like it if this mysite-like button also functioned as a facebook-like button, and if a person is logged onto facebook, it would post it on their wall.
Is there a way to make a button which performs both functions? E.g. perhaps by having an invisible facebook-like button, overlayed on top of the mysite-like button? Perhaps through some opacity=0 iframe? In an ideal world, clicking on one button would function as a mysite-like, and also a facebook-like, and a google+1. One button to rule them all...
The clean way to do this kind of implementation, where user interaction on a social button triggers changes on your site, is to use the callback methods.
Limitation
These callbacks work in one direction. For example:
Facebook Like button -> your custom 'like' button
OR
Google +1 button -> your custom 'like' button
As a result you will not be able to
trigger either of them from your custom 'like' button
trigger one third party button from the other
And now that you know what you can do with them, here's how to do it.
Facebook Like button callback (from another StackOverflow post)
<script>
FB.Event.subscribe('edge.create', function(href, widget) {
alert('You just liked the page!');
// this is where you would trigger your site specific logic
});
</script>
Google +1 button callback (from the official docs)
<g:plusone callback="myCallback"></g:plusone>
<script>
function myCallback(result) {
alert('button was just changed to state ' + result['state']);
// this is where you would trigger your site specific logic
}
</script>
One way is to have the facebook-like button also trigger a "mysite-like" action e.g. via http://www.saschakimmel.com/2010/05/how-to-capture-clicks-on-the-facebook-like-button/
Is there a way to do this also with google+? You can use the callback option https://developers.google.com/+/plugins/+1button/#plusonetag-parameters but not sure how to get the userid of the user.
I am currently using Floating Vertical Bar from Adthis For Sharing URL.
At first, everything appears to be correct but when i like a page using Facebook like button and reloads the page, the like button appears to be missing. There is no like button in that space.
When i move on to a new page which i have not liked the button will be there. Issue happens only when i like the page or url.
Can anyone help me on this.
I have add like button on my webpage www.zabavax.com (iframe). Count is work ok, but like button doesn't share post (link) on Facebook.
P.S. Like button on the left side and after post. When i click on right or after post like button liked link dont show on my Timeline and on friends news feed
I think Facebook has changed the behaviour of the like button. A link will be shared ONLY if the user adds a comment.
Your like button in the top right corner of your URL functions correctly.
I was able to post to my profile when I clicked on it.
I believe your issue is with the first-time popup that appears (also with its own like button) When I clicked that like button the popup disappeared and I didn't manage to post to my profile.