1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

best way to get traffic from facebook

Discussion in 'Blogging' started by BikeeT, Apr 20, 2016.

  1. BikeeT

    BikeeT Newbie

    Joined:
    Feb 11, 2016
    Messages:
    28
    Likes Received:
    0
    Please BHW members I have many hack facebook account, so i need best free tools that can post content with images on their wall. I will pay for it if anyone can find me the tools my Skype id bikeet1




    This exactly what am taking about the code paste here is not working can someone find me working code





    Step 1: Register a new application for your website. Visit http
    Use name = Whatever name you want to display instead of ?World War? at bottom in above image.

    Step 2: After registering the application, set below url by editing the application.


    <dt>Canvas Callback URL

    </dt>
    <dd></dd>
    <dt>Connect /dt>
    <dd>
    Note that it should point to the folder where you are going to use the code. The tutorial is about pressing a button on your website and posting things to user?s facebook wall.

    Step 3: Take Application ID from

    Step 4: Insert below code wherever you want to display button for posting on wall. Edit related texts.

    <div id="fb-root"></div>
    <script>

    window.fbAsyncInit = function() {

    FB.init({appId: "YOUR APP ID FROM STEP 3", status: true, cookie: true,

    xfbml: true});

    };

    (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);

    }());

    function streamPublish(){


    FB.ui(
    {
    method: 'stream.publish',display:'popup';
    <dd>
    message: 'getting educated about Facebook Connect',
    attachment: {
    name: 'Connect',
    caption: 'The Facebook Connect JavaScript SDK',
    description: (
    'A small JavaScript library that allows you to harness ' +
    'the power of Facebook, bringing the user\'s identity, ' +
    'social graph and distribution power to your site.'
    ),</dd>


    ?media?: [{ 'type': 'image',

    'src': ',

    'href': fb_root()}] ,


    <dd>
    href: 'httpjs'
    },
    action_links: [
    { text: 'Code', href: 'js' }
    ],
    user_message_prompt: 'Share your thoughts about Connect'
    },
    function(response) {
    if (response && response.post_id) {
    alert('Post was published.');
    } else {
    alert('Post was not published.');
    }
    }
    );

    } </script>


    </dd>
    <dd></dd>


    Step 5: Call streamPublish function by a link. You can use CSS for changing look of the link/button.

    </dd>

    <a onclick=?streamPublish();? >Click to Publish on Facebook wall</a>


    If no publish window is popping up, try setting display: value to ?dialog?.

    You are done ! Now just spread the post and get infinite traffic from facebook. Tell your users to post on wall. You can have data from game or any quiz and publish results on facebook wall same as facebook application does.
     
    Last edited: Apr 20, 2016