Flex :: FacebookDesktop.fqlQuery Does Not Work When Trying To Retrieve Users Photos

Nov 2, 2010

When attempting use the the Adobe GraphAPIDesktop library for use with Adobe Flex and AIR I can login to Facebook and retireve wall posts etc ok using FQL or Graph API calls. When attempting to retrieve users photos I can only get tagged photos when using "me/photos". I am trying to use FQL whcih should work, but when using:

var query:String = "SELECT pid, aid, owner, src, src_big, src_small, link, caption, created, modified FROM photo WHERE aid IN ( '1622751608028', '1207785754141' ) ";

FacebookDesktop.fqlQuery(query, getPhotos2);

Only an empty OBject is returned from FB?

View 1 Replies


Similar Posts:


Flex :: Osx - Cannot Retrieve The Browser URL For Mac OS Users

Jul 20, 2011

I'm developing a very simple flex application on Windows 7 64 Bits.It retrieves the user url and then show it:

public var bm:IBrowserManager;
protected function button1_clickHandler(event:MouseEvent):void{
bm= BrowserManager.getInstance();
bm.init();
Alert.show("Your URL is : " + bm.url);
}

On my Windows 64 Bits machine (Chrome, FF), it works fine and returns the URL.But, when I run my project on a Mac OS X machine (Safari, Chrome, FF) : it shows:

Alert.show(Your URL is : Null);

I think that it cannot retrieve the browser instance or cannot init the browser manager.

View 1 Replies

ActionScript 3.0 :: Create A Resizing Script For A Client That Is Allowing Users To Upload Photos?

Sep 24, 2009

I'm trying to create a resizing script for a client that is allowing users to upload photos through their site. SInce most of the photos will be huge this will help in performance. I've had some experience in the saving of a jpeg from Flash but I'm stuck with the scaling. I'm saving the uploaded file to the server. Reloading it into a movie clip, resizing it based on my desired sizes and then saving it back to the server in its new size. When I'm resizing I'm just using the scale properties to resize the loaded large image. When I get my bitmap data of the scale mc it's not taking the data from the scaled clip it's taking the data from the unscaled mc. So my data is basically the upper left hand corner of the original image instead of the whole image.
 
I've tried nesting the movie clips so that the top clip isn't scaled.I've tried duplicating the data from the scaled clip into a new non scaled clip and that doesn't work either.I've tried not using scale and just using width and height, doesn't work either.

View 3 Replies

Web Development :: Web Development - Search For All Tagged Photos Associated With User Some Id I All Of Facebook Users?

Nov 3, 2011

I'm using the the Adobe ActionScript 3 SDK for Facebook Platform to get all the tagged photos of the current user. Is this possible?

I've tried this:

FacebookDesktop.api("/"+uid+"/photos",getTagedPhotosHandler);

But that only gets me the photos belonging to that user.

View 1 Replies

ActionScript 3.0 :: Facebook AIR Permissions - Using GraphAPI_Desktop_1_8_1.swc To Access FacebookDesktop

Nov 23, 2011

I have an AIR app using GraphAPI_Desktop_1_8_1.swc to access FacebookDesktop. I call FacebookDesktop.login eg: FacebookDesktop.login(handleLogin);and all is good, the login window opens and the user logs in. But! when I add extra permission, for example: FacebookDesktop.login(handleLogin,{perms:"publish_stream"}); In the 'handleLogin' callback function I get the following error: message, An active access token must be used to query information about the current user.

View 2 Replies

ActionScript 3.0 :: Build A Gallery Of Photos Which Has Selected Thumbnail On Each Of Them Before Displaying Their Photos?

Nov 13, 2010

I'd like to build a gallery of photos which has selected thumbnail on each of them before displaying their photos.

Ex: photo.xml

Code:
<gallery>
<photo id="1">
<thumb>pics/thumbnail/img_001.jpg</thumb>

[code]....

View 9 Replies

Flash :: "choose Files" Button Not Work In Wordpress 2.5 When Trying To Upload Photos?

Mar 25, 2010

I've got Wordpress 2.5 installed on my website. It works well, but I can't get the photo uploader to work. When I'm writing a post, I click on the "Add media" button. In the "Choose File" tab, I see the "Choose files to upload" button. When I click on it, nothing happens. I searched the net and found nothing helpful. One page vaguely mentioned having the latest Flash player. I verified and confirmed that I have the latest player.

View 2 Replies

Flex :: How To Display Photos Full Screen

Dec 17, 2010

I give users the ability to put album in my Flex application. I want to add a feature when they can click a button to view photos full screen slide show.

View 1 Replies

Flex :: Get Flickr Photos With YQL With Multiple Parameters?

Aug 26, 2011

I'm trying to create a Flex app to get photos from flickr(using YQL) of "something" near a given ZIPCODE and ordered by interestigness.[url]...

View 1 Replies

Flex :: Drag And Drop Photos From Desktop Web App To Upload Them?

Oct 28, 2010

I use Flex 4 wish I can let users drag/drop photos from their computer to the web app to upload them automatically.

View 2 Replies

Actionscript 3 :: Make Transition Animation When Changing Photos In Flex?

Jul 24, 2010

I have an image in Flex I want to change the image with actionscript to show some other image say every 3 seconds or so. I also want to make transition between the image and the next one for instance fade in/out.

View 3 Replies

Flex :: Using E4x To Retrieve Xml From Flex Webservice Result Handler

Sep 2, 2009

I'm trying to use e4x to retrieve xml from the result event thrown when my Flex webservice is successful.

This is a snippet of the returned xml

<p430:getRoomsResponse xmlns:p430="http://impl.service.com">
<p430:getRoomReturn type="p888:Room" xmlns:p888="http://vo.room.com" xmlns="http://www.w3.org/2001/XMLSchema-instance"> <p888:roomName> ABC

[Code]....

The full xml contains approx 40 of these "ROOM" types containing roomname,size etc.

I want to create a collection containing a list of the 40 room objects based on the xml above.

How can I map the objects from my xml to an object using e4x?

The purpose is to display the objects in a datagrid

View 1 Replies

Php :: How To Retrieve Variable From Flex

Jul 12, 2011

an easy answer for 99% of you. I have a custom class 'Users()'. In PHP I have all the values being populated correctly. When I go to Flash Builder - and do the test function - All the data comes back properly. However, when I click a button and refer to the lastResult property of the CallResponder - it comes up NULL the first time, and then if the button is clicked a second time it will return the correct result. What step am I missing? I had the same problem with something simliar last night and am getting BEYOND frustrated - especially since I know it is some SMALL detail I'm overlooking.So just for clarification - lets say there is a button named button1So button1's click handler:1) Validates the text input properties2) Asks the server if that user and password match3) If they do - then I want it to grab all of that specific users info and put it into a User class. Again - when I test this function/method from within Flash Builder all the values come back as they should. It's just on the first button click they come back NULL...he second click they populate fine - I.E.-

Alert.show(currentUser.userFirstName); (First Click - NULL)
Alert.show(currentUser.userFirstName); (Second click - "Jack")

View 1 Replies

Flex :: Retrieve Information From Sql Database

Sep 30, 2009

I use flex and php to retrieve information from my sql database. What i have been doing is formatting the result from the database query into xml and then putting the result into an arraycollection. It all works fine except one of my database fields contains a lot of text that website users enter and as xml doesn't like tags like <> so I leave it un formatted but I would like to format it. Would I be better using flashvars or text than xml? Or is there another way?

View 3 Replies

Flex :: Retrieve Flashvar From It Using Mxml?

Nov 24, 2009

Is it possible to retrieve flashvar parameter in mxml code and if so how? Up to now i have been using Application.application.parameter.name to get what i need.

View 2 Replies

Flex :: Retrieve The Variable Which Getting Through UrlRequest

Feb 16, 2010

I am sending userID through urlRequest like below code,

[Code]...

now when new window is opening in that new swf is opening(new project) that is also in flex only.there i need to retrive userID when initailizing only how can i retrive?

View 2 Replies

Flex :: Retrieve CSV Data From A Web Server?

May 18, 2010

I am trying to retrieve a stock quote from Yahoo! finance using Flex. I currently have it set so that it will pull the quote like I want, but it opens it in a new file. However, I want to store the CSV data in a variable so that I can use it in my program.

How do I do this?

Here is the code that I am using right now:

navigateToURL(new URLRequest("http://download.finance.yahoo.com/d/quotes.csv?s=aapl&f=l1"),"_self");

View 3 Replies

FLEX :: Can't Retrieve XML From Event.result

Nov 20, 2010

I'm trying to feed data from SQL database to FLEX, using php script in the middle. I see the data in body of message in the Network Monitor and in "Variable" window during debug, but i cant retrieve them to XML.

Below (event.message.toString())

(mx.messaging.messages::AcknowledgeMessage)#0
body = "<?xml version="1.0" encoding="UTF-8"?>
<articles>
<node><id>2</id>

[Code]....

View 4 Replies

Media Server :: How To Retrieve Fms Bandwidth Into Flex

Apr 7, 2010

How to retrieve fms bandwidth into flex?

View 2 Replies

Flex :: Retrieve Swf Metadata Within Actionscript Of Project?

Sep 14, 2009

I know that it is possible to add swf metadata to the compile command as a command option, but I can't find any documentation on how to access these metadata within the actionscript during runtime. We're trying to add a version number to the swf during compile time and then somewhere in our app we would retrieve it during runtime, here is the command example to add the description metadata.

mxmlc -description "version 1.2.3"

I know the swf metadata is used by search engines and other utilities to gather information about the SWF file, but surely you should be able to retrieve them in the actionscript during runtime?

View 1 Replies

Flex :: Retrieve Body Of A HTTP 403 With Flash?

Dec 15, 2009

I've got a simple YouTube API client put together, written in Flex, that uses a plain ol' URLRequest object to handle Google's "ClientLogin" authentication scheme. Everything works perfectly, except for one case: when Google responds with a 403 and a response body indicating that I should prompt the user for additional information (specifically, a CAPTCHA request).

The problem I'm having is that in this case, I need to be able to retrieve the body of the 403 response, as the body contains information Google expects me to use to assemble the CAPTCHA (e.g., an image URL, etc.). It looks like Flash fails to populate the URLLoader's data property when it encounters a 403 (which is where the response body would normally show up), so I can't tell the difference between a "403: Login Failed" and a "403: Login Succeeded, but We Want a CAPTCHA".

As a backup, I figured I'd have a look at as3crypto's TLSSocket code, but I haven't been able to make any of that stuff work with Google (or even one of my own SSL certs, for that matter).

Is it possible to access the body ofa 403 response with Flash (and if so, how)? And if not,Does anyone have personal experience with a suitable workaround?

View 1 Replies

Flex :: Retrieve The Sum Of Items From A Sharepoint List?

Aug 26, 2010

Is there any way to get the sum of items based on some filters from sharepoint list? I was trying to access the GetListItems method. But this returns all the items in the list. That makes the data heavy. My requirement is to get only the sum of items. For example items created in a specific year.I am trying to populate a chart in flex from the sharepoint list. Accessing all the items and then calculating the sum in flex will not work always where the list contains more items.

View 1 Replies

Flex :: Retrieve Cookies From The Cookie Space Used By AMF?

Sep 16, 2010

I have a flex app that uses AMF to talk to a Spring Java backend. How do I get the values of cookies that have been set by the server and are being sent back by AMF?

View 1 Replies

Java :: Retrieve A Client's Hostname Using Flex?

Nov 3, 2010

I am building a Flex application which communicates with a Java server using BlazeDS.

What would be the best way to go about making the server aware of the client's hostname?

View 1 Replies

Flex :: Retrieve The Data Before Loading The Components?

Oct 27, 2011

In my flex application, my custom class AudLogDataGrid has a renderer function that takes a list of data and filters it, before passing it to the renderer:

private function rendererFunction(item:Object, grid:Object):ClassFactory {
var itemRenderer:ClassFactory = new ClassFactory(AudActionDropDownIR);
var FilteredAudActionData:ArrayCollection = new ArrayCollection(AudActionData.toArray());

[Code].....

However, rendererFunction runs before the data is fully retrieve from the server! Is there any way to get around this without declaring the AudLogDataGrid in AS?

View 1 Replies

Media Server :: Retrieve Fms Bandwidth Into Flex?

Mar 25, 2009

How to retrieve fms bandwidth into flex?

View 1 Replies

Flex :: Control Which Users See Which Videos

Nov 27, 2009

Imagine you have a large number of video files stored on a server, and a Flex app which lets users play those videos they have access to. How can you best set this up? Wouldn't the Flex app just be sent the name of the video to play... in which case couldn't someone else write another flex app if they knew the file names? Can Flex play videos hosted on other sites? Is there some clever piece on the server I'm missing, which sits between the Flex video player and the files?

View 3 Replies

Flex :: Load Different Menubars For PC Vs Mac Users?

Jan 7, 2011

Each entry in the menubar for my app contains a shortcut key suggestion (e.g. Undo (CTRL+Z)). Is there an easy way to dynamically customize the suggestion string depending on whether the app is being used on a pc or on a mac?

View 1 Replies

AS3 :: Flex - Pass And Retrieve Values To/from Popup Window?

Aug 10, 2011

I want to send some text value to my custom popup window when it pops up from main application which is having some text input and also I want to know how to retrieve data(of text input) which entered by a user in popup window.

View 2 Replies

Flex :: Unable To Retrieve Value From Java Web Service Response In It

Sep 21, 2011

I am trying to read data from the java web service from flex mxml/action script, seems like the call i.e request/response is successfully but when unable to read the value from the response[code]...

View 2 Replies







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