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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:03:55+00:00 2026-06-06T08:03:55+00:00

Here is the basic I am using FB.ui to post a flash application to

  • 0

Here is the basic I am using FB.ui to post a flash application to the wall of a facebook user. More exactly allowing the user to post the flash application to one of his/her selected friend’s wall.

The flash is posted and works fine in Chrome, FF, Safari and in IE9 with http… but with https it does not work in FF.

The problem ofcourse being I have to make it work on all major browsers and with https.

In the code you can see I am posting the flash application with https protocol, this is because this is how i got it to work under facebook secure browsing, all other links use http protocol.

strFlashVars contains some numbers, strings and parts of url to images

Here is the code (simplified):

FB.ui({
    method: 'stream.publish',
    to: strUserIdOfSelectedFriend,
    attachment: {
       name: strName,
       caption: strCaption,
       description: strDescription,
       href: strURLOfThePageThatHasTheMetaData,
       media: [{
           type: 'flash',
           swfsrc: 'https://mysite.com/flashSrc.swf?' + strFlashVars,
           imgsrc: strLinkToImage
       }]
    },
    actions: {
         name: 'Share',
         link: 'http://www.facebook.com/share.php?u=' + encodeURIComponent(strURLOfThePageThatHasTheMetaData)
    }
}, function(response){doSometing(response);});

And these are the meta tags that I use on the page that has the flash embedded within it:

<meta property="fb:app_id"       content="${strFacebookAppId}" />
<meta property="og:title"        content="${strPostTitle}" />
<meta property="og:description"  content="${strDescription}" />
<meta property="og:type"         content="video" /> 
<meta property="og:image"        content="http:${strImgLink}" />

<meta property="og:video"           content="http:${strFlashUrlSource}?${strFlashVars}"/>
<meta property="og:video:secure_url"    content="https:${strFlashUrlSource}?${strFlashVars}"/>
<meta property="og:video:type"          content="application/x-shockwave-flash" />
<meta property="og:video:width"         content="398" />
<meta property="og:video:height"        content="210" />
<meta property="og:site_name"           content="${strPageTitle}" /> 

Now the problem with the stuff above is that the flash application will not load in IE7, IE8 and in Opera at all (the picture and the play button is there, butt when clicked it only stretches out and that’s all it will do) and it won’t work in FF when I use FB with secure browsing on.

I have also tried with the folowing code (simplified):

FB.ui({
    method: 'feed',
    to: strUserIdOfSelectedFriend,
    link: strURLOfThePageThatHasTheMetaData,
    actions: {
         name: 'Share',
         link: 'http://www.facebook.com/share.php?u=' + encodeURIComponent(strURLOfThePageThatHasTheMetaData)
    }
}, function(response){doSometing(response);});

This way I let FB to collect the required data from the link (http), and it works in IE7 and IE8 … but it will not work with https on any browser… after that I tried to switch the link’s protocol to https but I recived the same result.

I welcome any suggestions, and will try to answer any question as fast as I can.

PS I also tried

FB.ui({
        method: 'feed',
        to: strUserIdOfSelectedFriend,
        link: strURLOfThePageThatHasTheMetaData,
        name: strName,
        caption: strCaption,
        description: strDescription,
        source: 'https://mysite.com/flashSrc.swf?' + strFlashVars,
        picture: strLinkToImage,
        actions: {
             name: 'Share',
             link: 'http://www.facebook.com/share.php?u=' + encodeURIComponent(strURLOfThePageThatHasTheMetaData)
        }
    }, function(response){doSometing(response);});

But with this there was no picture or play button… I found one doccument that tells me to do it this way and another that tells me if I use both source and picture, picture will be ignored.

  • 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-06T08:03:56+00:00Added an answer on June 6, 2026 at 8:03 am

    So the problem was as it turns out after hours of confusion. If you have an SSL certificate that is accepted by IE9, Chrome and Safari it dose not meen that the other browsers will accept it. So basicly the certificate caused the problem.

    What i finde interesting that altough FF did not accept the cerificate it was still able to work in http.

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

Sidebar

Related Questions

Here one more basic question asked in MS interview recently class A { public
this is my first post here. I'm using an existing Flash widget but would
Basic question here. I started using ARC and am not sure if I should
Pretty Basic one here guys. I have a View which holds 2 textfields for
I have basic authentatication working with REST API using curl: curl -X POST -H
Unfortunately, Flash Player doesn't support using request headers with GET requests, as noted here
I'm writing a basic application using RoR, and I'm testing with RSPec (and Factory
Just being very basic here. I'm trying to post an activeResource as Json and
So here is the basic HTML I'm using: <body> <li> <img src=Chrome.jpg/> <a title=Chrome
I'm using RazorGenerator to unit test my Razor/MVC3 per David Ebbo's post here http://blog.davidebbo.com/2011/06/unit-test-your-mvc-views-using-razor.html

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.