Ronnie Depp
Ronnie Depp

Reputation: 159

is there a way to embed swf files in facebook posts - November 2014

When fbml was supported by fb, you could use iframes but is there a way to conduct a survey style in a fb post with embedded swf files.

Because I develop using Adobe Flash Builder & Adobe Flex 4.6+?

Upvotes: 0

Views: 1485

Answers (2)

akmozo
akmozo

Reputation: 9839

We can share content on facebook, to do that we use Open Graph tags which are included in your page’s HTML and allow the Facebook Crawler to generate previews when your content is shared on Facebook.

You can start here : https://developers.facebook.com/docs/sharing/best-practices#tags and https://developers.facebook.com/docs/opengraph/using-objects and If you have questions, I am here to help you.

Take this example :

<html xmlns:og="http://ogp.me/ns#">
<head prefix="og: http://ogp.me/ns fb: http://ogp.me/ns/fb">
   <meta property="og:type" content="game" />
   <meta property="og:url" content="http://your.site.com/page.html" />
   <meta property="og:title" content="title here" />
   <meta property="og:description" content="description here" />
   <meta property="og:image" content="http://your.site.com/image.jpg" />
   <meta property="og:video" content="https://your.https.site.com/your_swf.swf" />
   <meta property="og:video:width" content="480" />
   <meta property="og:video:height" content="360" />
   <meta property="og:video:type" content="application/x-shockwave-flash" />
</head>

This html code will give you an export like this :

Facebook swf export example

For more details you can also see : https://developers.facebook.com/docs/games/feed-gaming and for you debug on facebook, to verify if you get what you want, you can use facebook debug page here : https://developers.facebook.com/tools/debug/og/object/

Upvotes: 1

dpachecos
dpachecos

Reputation: 9

No, it isn´t possible, is like trying to post a gif on fb, it will only show the link

Upvotes: 0

Related Questions