ActionScript 1/2 :: Add The Facebook LIKE Button?
Apr 27, 2011
I need to add the facebook LIKE button in to my website. But I'm not knowing how to do it. Facebook provides the iFrame and XFBML codes.
How do I get this button in my flash website?
View 6 Replies
Similar Posts:
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
Jun 18, 2010
I am working on a Flex AS3 application and wanted to add the Facebook Like button inside the app. I am unable to find any API or anything apart from the [URL] code generator.
View 4 Replies
Jul 12, 2010
This button is basically hosted on a html page and used trough an iframe.
I believe flex does not have iframes out of the box. Are there are any good iframe components i can use?
View 2 Replies
Sep 12, 2011
I want to add Facebook Fan button in my flash application? How to do this give me some example.not only add the like button i need to get the current users session also.
View 1 Replies
Jan 25, 2011
I am looking for a script for a right click button and when you press that button the link on the page you are is making like on facebook.
View 0 Replies
Oct 10, 2011
Can we add facebook like button in flash?
View 1 Replies
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
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
Oct 17, 2011
[url].. is my website and as you can see my facebook like button is up at the top of the screen and my movie is at the bottom of the screen
View 1 Replies
Sep 27, 2010
I am trying to put a facebook like button onto my flash site but it goes at the bottom. What other coding do I have to do. I would like to have it near the middle of the page.
View 9 Replies
Aug 10, 2011
I need to add a facebook share button to a flash ad.
View 1 Replies
Oct 24, 2011
we all know its possible to make a share button for face book which allows users to share whatever item. but when we are directed to that page the user has two options. press the "cancel" button which of course closes the window, or to press the "share" button which then adds the item to the persons wall.
what i'm trying to do is determine if that share button has been pressed. see because when they press it i want my swf to trace out a message saying "thanks for sharing my item"and while i can redirect them to the page i have no way of knowing if they shared it or not. my idea was to use an enter_frame event and try and see if any data was being sent via php. because thats what the button would be doing when pressed. but i haven't had any luck making that work.here is the code so far. its a tutorial as the focus is at my problem:
ActionScript Code:
import flash.net.navigateToURL;
import flash.net.URLVariables;
import flash.net.URLRequest;[code].........
View 3 Replies
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
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
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
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
Sep 9, 2010
I'm trying to duplicate the behaviour of the "Share on Facebook" button from Youtube. Basically, inside a Flex app I'll have a button and when I click it I want a popup that enables me to post something on the wall. While it is possible to make a call to javascript to open the pop-up I want to be able to set the images and the text of my posting. How I could set the images or text as a parameter to the sharer window?
View 3 Replies
Mar 23, 2011
I have a .swf and the external link buttons work fine except when on facebook the clickable buttons do not lead anywhere.
View 7 Replies
Mar 11, 2011
Is there any possibility to create a facebook share button in flash? need it in as2 . I need that button to share a link on facebook from a swf file.
View 4 Replies
Mar 18, 2012
I'm new to actionscript.the thing is I needed a facebook share button inside an .swf movie file.I was able to search up with this code.
[Code]...
Using the share_btn a lot.button, everything comes allright but the thing is the a Preveiw image dosn't come up. how I can correct this on the script? or is there some other way to make this.
View 3 Replies
Sep 24, 2009
I can't find in the Adobe Facebook API how to log the user out of Facebook. The FacebookSessionUtil (and the related sessions and Facebook classes) all have a .logout() function, which will invalidate the user's current *session* within the swf, but it doesn't log the user out of Facebook.
What am I missing here? How are you supposed to log the user out of Facebook with this API? Since it's part of the TOS for Facebook Connect apps, you'd think this would be available in the API somewhere.
View 0 Replies
Jan 17, 2011
I've had an issue with using Facebook's Share feature.
The user experience on the shared content below is just completely unclear (even when I tested some clarified language: e.g. "click here"). Users simply don't know what to do: they often either click "Like," or they comment with something along the lines of "I support you."
According to the documentation, it is possible to share Flash content in these posts. I'm hoping I can create a "Support" button as an SWF button.
Is it possible to dynamically create such an SWF with a custom *href? Will my use case work on Facebook?
View 1 Replies
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
Nov 20, 2009
Using this url to post shared content to facebook wall via flash button:
[URL]
looking to specify different thumbnail images dynamically set by the flash movie.
View 3 Replies
Oct 14, 2011
Well i developing a Flex desktop app and i cant logout form facebook. I mean after loggin in and updating the photo i want to update, i run the method to log out, which looks like this
FacebookDesktop.logout(handleLogout);
Where handleLogout is a function where i can do other things.The method runs but never log out. I think that maybe loading an other request i could log out, and i find that using:
[URL]
would log out, but i dont know where i ca get the accesToken.
View 1 Replies
Oct 14, 2009
I'm trying to embed a screen recorder into my facebook application, but I am getting errors.
This is the code I used:
<fb:swf swfsrc ="http://www.screentoaster.com/swf/STRecorder.swf" width="950" " height="485" flashvars=" "forward_url=http://youtube.com/videos/watch?video=#{st_video_id}%26user=#{ext_user_id}&st_visibility_on_portal=public&ext_additional_data=Some_useful_infos_for_you&ext_user_id=username"copied over exactly" imgsrc=" http://www.screentoaster.com/swf/STRecorder.swf"> </fb:swf>
but the error I'm getting is that swfsrc is a relative URL.Is there a way to embed a relative url?
View 1 Replies
Apr 11, 2012
I am newbie to faceook with as3. how I started ? tutorial ? I purpose accessing to facebook album ? What should be my My first step?
View 1 Replies
Nov 14, 2009
I've been messing around a bit with a Facebook application for a while now, which is using FBML. A need has arisen to integrate graphs to display data. From what I can tell my options would be one of the following:
Find a Flash Graph that doesn't require a JavaScript library to work Convert the application to an IFrame application, and hope that Facebook wont break the Graph JavaScript Generate the graph serverside with GD or ImageMagick I would preferably not go with option 3, due to how boring generated graphs look, and serverside load.
Does anyone have any opinions or suggestions on how I would best solve this?
View 2 Replies
Dec 21, 2009
trying to get the name of the user in Flash (not FLEX) without the PHP. Currently I have the session, the uid. But from here could not move forward towards getting the name.
var fbook:Facebook;
var api_key:String="xxxx";
var secret_key:String="xxxxx";
[code].....
View 1 Replies