Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7920125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:05:58+00:00 2026-06-03T16:05:58+00:00

I am working on a website where the client has asked me to implement

  • 0

I am working on a website where the client has asked me to implement a functionality where a part of the content is shown to the end user once the page is liked by the end user on Facebook or the user had clicked on digg share button.

I have implemented a callback successfully which shows the content after the facebook button is liked. The way I did it is like this:

<div id='fb-root' style=''></div> <fb:like href='URL to like' show_faces='false' border_color='' stream='false' header='false'></fb:like-box><script type='text/javascript'>

         window.fbAsyncInit = function() {
        FB.init({appId: 'APP ID', status: true, cookie: true, xfbml: true});
        FB.Event.subscribe('edge.create',
            function(response) {

        alert ('You clicked the facebook button');


        // Other javascript to be executed can be placed here.          


            }
        );

    };


    (function() {
        var e = document.createElement('script'); e.async = true;
            e.src = document.location.protocol +
              '//connect.facebook.net/en_US/all.js';
            document.getElementById('fb-root').appendChild(e);
    }());
</script>

The alert in the above code only gets executed when the callback confirms that the user has clicked the facebook like button.

I am trying to do something similar with Digg as well. I searched there API but I was not able to find a solution to such problem.

In simple words I want to know if there is a callback which confirms that the user has clicked the diggshare button ?

Thanks and any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:06:03+00:00Added an answer on June 3, 2026 at 4:06 pm

    Digg is not having any such callback thing. Came to me as a disappointment !

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My client has asked me to implement GA ecommerce code in their ecommerce website.
A client has sent me a Flash CS3 website template she was working on.
I am working on an MVC3 and Razor website. The user has to select
Hello I am working on an existing Drupal website for my client. He has
I'm working on a website that has a chat for a client, however, we're
I'm working on a website for a client, and I would like to customize
I'm currently working on a website for a client and I'm getting a strange
I currently am working a CSS navigation system on my client's website at http://cjcdigital.net/clients/andrea
Working on a website that has Employee and Branch entities, using a database table
I am working on a multisite for a client for a skateboarding website. So

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.