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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:16:19+00:00 2026-06-03T10:16:19+00:00

I am Trying to publish an action using js sdk. my action code is

  • 0

I am Trying to publish an action using js sdk.

my action code is

 function watchvid()
  {
      FB.api(
        '/me/video.watches?video=http://watchvideoz.in/watch.php?v=34',
        'post',
        function(response) {
           if (!response || response.error) {

              alert(JSON.stringify(response.error)); 
           } else {
var a = response.id;
    MyApp.color = a;

           }
        });
  }

and my meta tags are

<meta property="og:url" content="http://watchvideoz.in/watch.php?v=34"/>    
<meta property="fb:app_id" content="288976161189701"/>  
<meta property="og:title" content="Buckys C++ Programming Tutorials - 9 - Functions"/> 
<meta property="og:type" content="video.other" />
<meta property="og:image" content="http://img.youtube.com/vi/bsWWHo4KDHE/hqdefault.jpg"/>   
<meta property="og:description" content="For all of our videos, visit http://thenewboston.com"/>
<meta property="og:site_name" content="YourVidz"/>

But i get the Following error

{"message":"(#3502) Object at URL http://watchvideoz.in/watch.php?v has og:type of 'website'. The property 'video' requires an object of og:type 'video.other'. ","type":"OAuthException","code":3502}

In above error it ignores the value after = i.e..it retrieves only http://watchvideoz.in/watch.php?v

Although the fb debugger tool is retrieving correct values

http://watchvideoz.in/watch.php?v=34

  • 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-03T10:16:20+00:00Added an answer on June 3, 2026 at 10:16 am

    If you pass a url as a querystring parameter you need to “url encode” it so that the ‘?’ and ‘&’ in your own querystring won’t get confused with the one in the “parent” url.
    Try http://watchvideoz.in/watch.phpp%3Fv%3D34

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

Sidebar

Related Questions

Trying to post a status update using facebook php sdk. Code posted below. As
I'm trying to publish an asp.net website on a remote server. When my code
I'm trying to add some twitter funcionality to my website (php). I publish links
I'm trying to publish my web solution to the file system, using the Only
I'm trying to publish messages to RabbitMQ, from a Ruby script (using Bunny )
We are trying to publish to the feed resource of an event using the
I'm trying to publish a .Net web app using Powershell. I want to publish
I'm trying to publish a wcf service using nettcpbinding. I want to publish metadata,
I'm trying to use the Facebook C# SDK to publish posts to the wall
I'm trying to publish my website on a webhost which using plesk panel but

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.