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 8068303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:37:44+00:00 2026-06-05T12:37:44+00:00

I have the following code for the like button: <fb:like data-href=http://foobar.com/Home/View/@Model.News.Id/ send=true width=320 show_faces=true

  • 0

I have the following code for the like button:

<fb:like data-href="http://foobar.com/Home/View/@Model.News.Id/" send="true" width="320" show_faces="true" font=""></fb:like>

When I try to debug this in Facebook Linter. It’s failing:

Can't Download: Could not retrieve data from URL.

When I look at what Facebook returns as a response I see that it’s redirecting to authentication page.

This is a canvas app and I have to authenticate the users right. So I have it in every action within controller.

All I want to do is a like button per page which are dynamic.

How can i fix this ? any ideas?

  • 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-05T12:37:47+00:00Added an answer on June 5, 2026 at 12:37 pm

    FYI: https://developers.facebook.com/blog/post/407/

    Enabling the Like button for canvas URLs on Facebook Based on feedback
    from the developer community, we’re making it possible to like content
    within an application on Facebook. Now your users can like pages
    within your application just as they’ve been doing with Facebook
    Pages, and other pages on the web.

    The resulting News Feed story will link directly back to the
    application, giving users more opportunities for liking content on
    Facebook.

    To implement this feature, add Open Graph protocol tags in the
    of the IFramed page or the canvas endpoint. Your canvas
    application’s ID will be automatically added as the fb:app_id. The
    og:url automatically points to your apps.facebook.com URL, and the
    og:site_name will be filled in as your application’s name.

    For example, if you’re interested in gaining distribution for content
    or giving users the ability to like a virtual good, add the following
    pieces of the Open Graph protocol:

    og:title – The title of your object og:image – An image URL which
    should represent your object. The image must be at least 50px by 50px
    and have a maximum aspect ratio of 3:1. If you have a real-world
    object that expects to publish updates to users (e.g., a cause, movie,
    product), include the og:type tag with the appropriate type. You can
    verify that the Open Graph tags have been entered correctly by using
    the URL Linter.

    For this

    Can’t Download: Could not retrieve data from URL.

    You should allow linter to access the page to read the og tags. If you page is under user authentication, you should some how allow facebook

    Facebook needs to scrape your page to know how to display it around
    the site.

    The user agent of the scraper is: “facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)”

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

Sidebar

Related Questions

I have the following very simple code: html <a data-bind=enable: selected() href=http://www.google.com>Click Me</a> javascript
I have following line code in my view: <td> Model.some_instance_method(args) </td> I would like
I have the following code: <li><a id=logout class=access button red href=/MyAccount/Access/Logout data-href=/MyAccount/Access/Logout title=Logout><span class=smaller>LOGOUT</span></a></li>
I have the following jquery code: $(document).ready(function() { $('button').click(function() { $.getJSON('http://world.needforspeed.com/SpeedAPI/ws/game/nfsw/server/status?output=json', function(json) { alert(Entered
I have code like following: switch(sort.Column) { case code: model = (sort.Direction == SortDirection.Ascending)
I have the following code that seems like it should set my insertParameter but
I have the following JavaScript code which I like to convert to jQuery but
I have the following code which works perfectly fine, however I would like to
I have the following code, which works as I expect. What I would like
I have code like the following... HANDLE event = CreateEvent(NULL, false, false, NULL); //

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.