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

  • SEARCH
  • Home
  • 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 8642541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:48:11+00:00 2026-06-12T11:48:11+00:00

I wanted to just get a basic understanding of how the Activity Feed plug-in

  • 0

I wanted to just get a basic understanding of how the Activity Feed plug-in works so I figured I would set up a small example on an html page just to see what it looks like.I am using the FBML method of creating the control. The problem is the feed is not rendering. As I said I just wanted to test how things work so I am using http://www.facebook.com as the domain. Again this is simple as can be but I’m not seeing the control render. Here is my code in it’s entierty:

<!DOCTYPE html>
<html>
  <head>
    <title>Facebook API Testing</title>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
  </head>

  <body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=myid";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

    <h1>Facebook API Testing</h1>
    <div>
    <fb:activity href="http://www.facebook.com" action="like" width="300" height="300" header="true" recommendations="true"></fb:activity>
    </div>
  </body>
</html>

I am not getting an error of any kind. I’m just not seeing anything. When I inspect the page I see that the fb activity feed markup is there:

<fb:activity href="http://www.facebook.com" action="like" width="300" height="300" header="true" recommendations="true"></fb:activity>

Solved

Ok this has been solved apparently this doesn’t work if you try to run it from a stand alone html file on your local machine. When I uploaded the above to a webserver and viewed the page things were rendering.

  • 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-12T11:48:12+00:00Added an answer on June 12, 2026 at 11:48 am

    Ok this has been solved apparently this doesn’t work if you try to run it from a stand alone html file on your local machine. When I uploaded the above to a webserver and viewed the page things were rendering.

    That’s because the address of the JS SDK is given as //connect.facebook.net – to allow the browser to chose whether to use HTTP or HTTPS in requesting the script automatically. Of course, this can only work if the page itself is access by either of those two protocols – not when it’s accessed via file://.

    You could use a local web server to test things like this – or you can put the http: in front of the script address yourself.

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

Sidebar

Related Questions

Just wanted to know if overriding UITabBarController would get my app rejected? Is it
I just wanted to get the general consensus on which is a better mode
I'm new to objective C and I just wanted to get a general clarification
I just wanted to know how to get the logged in apple id in
Just wanted to check if there is any configuration or parameter to get statistics
Just wanted to know how i would replace sitename.com with sitename2.com whenever a user
So I wanted to see what would happen to a basic Qt4 Application compiled
just wanted to ask where I define initial class properties? From other languages I
i just wanted to put a selection on my picturebox.image but this has just
Just wanted to ask you about the drawbacks (I mean memory or reponse time)

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.