Facebook :: Flash - Post Swf With Parameters To Facebook Via Application?

Apr 4, 2012

I have a facebook application where the user choose 4 of his friends and then it creates a video (swf) with the pictures of your friends in it (loaded via xml). So I need to share this video on the user timeline. Everything works fine but the video is not embedded in the post on his timeline, there is only a post with the link to the page in it.The weird thing is, if I post the url directly on my timeline, the video is embedded, but not if the same link is posted via the application.here is my code called by the share button in js :

function postToFeed() {
var obj = {
method: 'feed',[code].........

View 1 Replies


Similar Posts:


Flex :: Using A Widget For Facebook Application - Get The Current User's Facebook ID?

Sep 24, 2009

I am using a Flex widget for my facebook application. How can I get the current user's facebook ID?

View 1 Replies

Actionscript 3 :: Get Facebook Post Id With Facebook-SDK?

Nov 8, 2011

After I upload a photo on a desktop facebook application i need to store it's post id in a database. From the facebook ActionScript SDK documentation:pi() methodpublic static function api(method:String, callback:Function, params:* = null, requestMethod:String = GET):voidMakes a new request on the Facebook Graph API.Parameters [...]callback:Function — Method that will be called when this request is complete The handler must have the signature of callback(result:Object, fail:Object); On success, result will be the object data returned from Facebook. On fail, result will be null and fail will contain information about the error.

So I implemented my callback function as follows:
protected function handleUploadComplete(response:Object, fail:Object):void{
status = (response) ? 'Success' : 'Error';

[code].....

View 1 Replies

Flash :: Adobe Facebook API Facebook.login VS Facebook.ui Popups?

Oct 24, 2010

I'm currently building an application using the Adobe Facebook API and I've run into an issue where for the login method the Facebook login popup displays but when doing a Facebook share/post the popup is blocked.

This code works fine and displays me a Facebook login popup without question (Firefox):

var permissions:Array = ['publish_stream'];

Facebook.login( onFacebookLogin, { perms:permissions.join(',') } );

However, the following code running in the same application throws up a popup blocker (again Firefox):

Facebook.ui( "stream.publish", "popup", params );

Does anyone know of a work around this issue to make the share popup come up just like the login popup?

View 2 Replies

Actionscript :: Post From Flash To PHP In Facebook App?

Sep 2, 2010

I published 2 days ago a Facebook app, it's a flash game, after the game over, the flash file POST score to my php file, Publish your score to wall if you beat your highscore, Facebook disabled the application because bad reviews from users.

How to POST from Falsh to PHP without redirecting the user, i want after the game over POST score, insert it in DB, and show the user Stream Publish popup if he want to publish to wall the score or not.

View 2 Replies

Flash :: Post Applets To A Wall On Facebook?

Dec 15, 2011

In the comments of this question, users have commented that it's possible to insert a Flash applet into a Facebook wall post. I was under the impression this isn't possible without making a FB app.

I'm aware that FB will convert links to various media types - e.g. a link to a MP3 becomes automagically a SWF MP3 player, but the Flash applet used is chosen by FB's internal logic, not by the content of the post. Is it possible to embed a SWF applet of your own choosing?

As I haven't been able to find any documentation on this, has anyone else? Or, do you have some PoC code that does this?

View 2 Replies

Actionscript 3 :: Post Dynamic Information To Facebook From Flash?

Apr 15, 2010

I am building a Flash site and I want to be able to allow the user to post dynamically produced information to their Facebook wall, but I can't find out any information within the Facebook developers documentation.

Its simple enough in Javascript/HTML:

<script type="text/javascript">
function callPublish(msg, attachment, action_link) {
FB.ensureInit(function () {

[Code].....

As you can see I don't want to create sessions or login or anything complicated, just post to info to their wall.

View 2 Replies

Actionscript 3 :: Post Message On Facebook Wall Via Flash?

Aug 25, 2010

I am creating a game that needs to be integrated with Facebook. The game is done and once the user complets that game it adds the button that send score to the Facebook wall of the user.

I have downloaded the Facebook api for flash and is able to connect to the user and get its id. But I don't know what command to use to post the score or message on users wall via swf.[code]...

View 1 Replies

Actionscript 3 :: Post To Facebook Page From Flash Using Querystring?

Oct 7, 2010

Can someone point me to a simple example of posting to a user's facebook pages using a query string? ie I'm not using facebook connect.

View 1 Replies

Flash :: Post A Facebook's Profile Wall Into A Site?

Feb 1, 2011

Someone have already done this? I have a solution in mind, but I don't tried yet. Before trying i'm wanna know if it's possible.

My solution is just posting a wall into an html page and getting the source of page in Flash and parsing it.

View 2 Replies

ActionScript 3.0 :: Make A Post From Flash To Facebook's Wall

Feb 23, 2011

All I really need is to make a post to the Facebook wall of the user from flash movie.Been trying to find any decent tuts for Flash IDE but everything seems to be for Flex mainly.

View 2 Replies

Flash :: Facebook Connect And Actionscript - Make All Of The Facebook API Calls Via JavaScript

Jun 1, 2009

I'm trying to determine the practical difference between using the com.facebook.session.WebSession and com.facebook.session.JSSession. The documentation ([URL]) has more around WebSession - but the example I have which is closest to what solution I'm trying to implement uses JSSession and it looks like I could avoid all of the JavaScript pass-through & ExternalInterface calls I'm making. It appears that the benefit of using this new ActionScript Facebook API is to avoid having to make all of the Facebook calls via JavaScript.

View 5 Replies

Facebook :: Flash - Connecting To Facebook From A Remote Website With OAuth2?

Jan 13, 2012

i need to connect to have a button on my website that connects to facebook (if not already logged in) and posts to the users wall.I've only done this from within an iFrame - do i still need AppId etc etc?

View 1 Replies

Flash :: Facebook :: Facebook Pages And Content - Autoplay?

Dec 6, 2011

I've recently used the 'Static HTML' application to add autoplaying flash content to a Facebook Page.Nothing too fancy, no sound, and only a few secs long. Now, Facebook say:-"Apps on Pages must not host media that plays automatically without a user's interaction."

What do they mean by 'Media' exactly? I can understand a ban on autoplaying audio content but does the ban extend to something as harmless as an animated GIF? Or more to the point, does an autoplaying .swf file fall under this?

Lastly, what course of action would Facebook take if I did violate this rule? Would they issue a warning (giving me an opportunity to remove the 'offending' item) or would they just shut down my page without any consultation?

View 2 Replies

ActionScript 3.0 :: Connect - Login - Post An Image To A Facebook Account Directly From Inside Of Flash?

Jul 15, 2010

Anyone know if you can connect, login, post an image to a Facebook account directly from inside of Flash? I grabbed the Facebook API for AS3 and have it installed, created an application definition on Facebook but am having no look connecting to it? I have seen some refereneces to it only working inside of Flex and am wondering it that's the case. I am looking to do a kiosk application where a camera image will be uploaded directly to the persons FB page.

View 17 Replies

Post To Facebook Via Flex?

Jan 26, 2010

Is there a way to post to a users Facebook wall via fbConnect? (php/as3) I can authenticate and pull info but not post anything. I have searched extensively and not found a working example or docs on how to post directly via AS3. My current work around is to external link to an Ajax page.

View 1 Replies

Javascript :: Post A Slideshow In Facebook?

Jul 24, 2011

Is it possible to post a slideshow in your facebook newsfeed only using HTML/Javascript/CSS ?I think it is possible to post a slideshow using flash. But I'm hearing that FB is in the process of depreciating FBML, will this affect flash content too?

View 1 Replies

Actionscript 3 :: Post To Wall With Facebook Sdk

Dec 10, 2011

I'm writing an app for Android using Adobe AIR 3.0 and facebook action script 3 sdk to enable user social experience. I can't call facebook methods using ExternalInterface, so I have to make all request using GRAPH api. [URL]

So, working with this SDK, provide me with code example how can I post to users wall (text + URL link + image) using:

1) app requests

2) streamPublish.

View 1 Replies

Deploying Flash Application To Facebook?

Jul 24, 2009

I've come up with a flash game and wish to deploy it on facebook. Problem is, I am not sure where to start!

I've done some research and found out something about needing an external server to host my flash application but I'm still pretty much lost.

So can anyone tell me what are the basic steps to deploying my flash application to facebook?

View 1 Replies

Flash :: Do Fullscreen In Facebook Application?

Mar 16, 2010

[Code]...

But what is the trick to enable flash fullscreen in facebook application ?

View 1 Replies

Flash Facebook Canvas Application

Sep 7, 2010

I need to embed a flash application(that will access FB API from within) in Facebook Canvas page.If I use , some FB related details(like session key) will be automatically passed to the flash. But since, FBML is going to be deprecated, I want to use iFrame. Is there any way to pass those variable automatically or do I have to retrieve them in PHP and pass it to flash through loadvars?Also, if I have to do it manually, is there any documentation for the php sdk 2.1 ? (already searched about it a lot, and I think there is no doc nor tutorial for 2.1)

View 3 Replies

AS3.0 :: Use Flash Animation As A Facebook Application?

Sep 25, 2011

I tried to make a facebook app, but I failed. I have no idea how to use my flash content. I tried to make a new app with Fbook Developers, I uploaded the animation as an HTML file on my server, but it's not working. All i see is a blank page. Then I searched some codes, but none of them worked. This is my final code (which is still not working)[code]...

View 1 Replies

Actionscript 3 :: Post On Friends' Wall(s) Via Facebook SDK

Feb 29, 2012

I'm absolutely new to programming and just managed to learn the basics of ActionScript 3. Now, I would like to learn how to post on my Friends' Walls via the as3 SDK using the UI class (taken from a nice Tutorial):

[Code]...

View 1 Replies

ActionScript 3.0 :: POST Variables To .php File In Facebook?

Aug 14, 2010

I am trying to figure out why this is not working. I have a Flash .swf that is attempting to POST some variables to a .php file in the same location as my .swf. My facebook app is in FBML Canvas. Here is the function I am calling. The .php file is never receiving anything

public function sendData():void{
var request:URLRequest = new URLRequest("apps.facebook.com/MYAPPNAME/api/update.php");
request.method = URLRequestMethod.POST;

[code].....

View 0 Replies

Actionscript 3 :: Facebook Login Handler Doesn't Get Fired In Flex4 Facebook API?

Mar 13, 2011

I have literally spent HOURS trying to solve this mystery... but simply can't seem to get hold of it.
I am using the same code lines (literally!) as the example here (official adobe tutorial) and I get different result.

[Code]...

Everything works fine, i.e. everything till it is time to fire the loggedin event. I get asked to log in and all permissions are asked correctly. After I log myself in to facebook, the loggedin event doesn't fire. Is there any way of solving this problem??

View 1 Replies

Flash :: Tag A Facebook Friend In Status Through The Application?

Aug 5, 2011

How to let the user tag a Facebook friend for status wall post through the application(using AS3 SDK)

View 1 Replies

Flash :: Why Can't Log A User Out Of Facebook In An AIR Desktop Application

Sep 23, 2011

I'm building an AIR desktop app with facebook support using Adobe Flash builder. So far it's working alright, except for one detail, once a user logs in, that session stays open, even if the logout button is pressed. My logout code look like so:

protected function logout():void {
FacebookDesktop.logout(handleLogout, APP_ORIGIN);
}

I set APP_ORIGIN to "[URL]". I checked Adobe's documentation and they say: appOrigin:String (default = null) ” (Optional) The site url specified for your app. Required for clearing html window cookie. But I don't know what that means, what is the 'site url specified by my app'? Where do I get it? Sorry if this is a noob question.

View 1 Replies

ActionScript 3.0 :: Post To Include A Link To Another Facebook Page?

Mar 27, 2012

I'm using the FB API and it's working fine. I can post a photo just fine, and I can post to the users wall with me/feed but I need the post to include a link to another FB page. I learned yesterday that you can't post a link within a wall post - ie the users feed, so I'm trying to post a like, but not having any luck.

View 2 Replies

Php :: Send An Actionscript ByteArray As A POST Variable (within Facebook)

Dec 18, 2010

I would like to use Flash to send a ByteArray (of a PNG image) to a php file, in a facebook application. Is there a way to do this by sending the ByteArray as just one POST variable instead of as the entirety of the POST data?

There was a nearly identical question here: How can I send a ByteArray (from Flash) and some form data to php? but the problem is different; instead of smuggling other variables in other parts of the request, the image itself has to be sent as just a variable because Facebook commandeers the post data and puts in its own junk.

If not, can I send the image in some form other than a byteArray?

View 2 Replies

ActionScript 3.0 :: Convert Facebook Parameters Into Array?

Nov 24, 2010

it seems that there are few support with regards to facebook api in flash. I would just like to ask for help with regards to managing facebook params when it's loaded to flash.
 
I'm using amfphp and flash professional. I've manage to get the params using

var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
 
This returns 5 params:
 
sessionheightfb_fbjs_connectionfb_local_connectionwidth What I'm interested in getting are the values in session.My question is how do I convert this session values into an array or how do I get the uid and session_key?
 
This is the exact return in string:
 
{"uid":"1448570087",
"session_key":"2.LpHrIZ9IOujNzZBVf7W_Wg__.3600.1290628800-1448570087",
"secret":"vZnL1HJsaI4QpNtqdNaYNQ__",

[Code]....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved