carlodeocareza / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

getting error while integrating from sample #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
while integrating the sample I got this error.... plz help

TypeError: Error #1034: Type Coercion failed: cannot convert
flash.events::Event@71c6831 to
com.pbking.facebook.delegates.friends.GetFriendsDelegate.
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()
    at
com.pbking.facebook.delegates::FacebookDelegate/com.pbking.facebook.delegates:Fa
cebookDelegate::onComplete()
    at
com.pbking.facebook.delegates::FacebookDelegate/com.pbking.facebook.delegates:Fa
cebookDelegate::onCallComplete()
    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.pbking.facebook::FacebookCall/::bridgeFacebookReply()
    at com.pbking.facebook::FacebookCall$/::postBridgeAsyncReply()
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at ()
    at
flash.external::ExternalInterface$/flash.external:ExternalInterface::_callIn()
    at ()

Original issue reported on code.google.com by mabhijit...@gmail.com on 31 Mar 2008 at 7:15

GoogleCodeExporter commented 8 years ago
Hi, I have the same problem with the example :
http://apps.facebook.com/fb-as-api-example/
It appends juste after my profil name appears here : "Welcome XXXXXX YYYYYYY.  
Select
a friend below to see their details."

Original comment by frederic.moragues@gmail.com on 16 Apr 2008 at 9:34

GoogleCodeExporter commented 8 years ago
"please" does not have a "z" in it

I'm afraid I'm not seeing the same problem.  Can you provide more details?

Original comment by jcrist.p...@gmail.com on 4 Oct 2008 at 4:47

GoogleCodeExporter commented 8 years ago
I'm having errors as well. I copied the example files directly onto my server,
inserted my api key in the fb_as3_api_example.html page. When I run it, the 
flash
load but the logger stops at:

starting jsBridge session
> > > calling method: facebook.users.getInfo
  +uids = 122615709
  +fields = name

You can view the error:
http://apps.facebook.com/picstesting/

Perphaps my facebook settings are incorrect for the app. They are as follows:

Callback URL
    http://www.mtzembelicos.com/faceio/fb_as3_api_example.html
Canvas URL
    http://apps.facebook.com/picstesting/
FBML/iframe
    iframe
Dev Mode?
    Off
Application Type
    Desktop
Post-Authorize Redirect URL
    http://apps.facebook.com/picstest1
Post-Add URL
    http://apps.facebook.com/picstest1
Side Nav URL
    http://apps.facebook.com/picstest1
Private Install?
    No
Description
    picstest1

Thanks

Also, I think I found a security violation that shows your secret key in the 
url.

Original comment by biz...@gmail.com on 6 Oct 2008 at 3:44

GoogleCodeExporter commented 8 years ago
It seems that the example on facebook:

http://apps.facebook.com/fb-as-api-example

is not working in-and-of itself.

We're trying to write a flash application for facebook but having the example 
not
work is somewhat discouraging. Is the problem on our side or is it the 
interface with
facebook? Our entire team sees the output:

starting jsBridge session
> > > calling method: facebook.users.getInfo
  +uids = *userid*
  +fields = name

No friends come into the list and the heading says:

   Welcome .  Select a friend below to see their details.

Any helpful information?

Original comment by gene...@powerpolitics.com on 4 Nov 2008 at 10:59

GoogleCodeExporter commented 8 years ago

Original comment by daniel.d...@gmail.com on 30 Mar 2009 at 5:12

GoogleCodeExporter commented 8 years ago
Try putting a couple try catch statements inside 
FacebookUserXMLParser.createFacebookUser

Original comment by chrisedw...@gmail.com on 31 Mar 2009 at 9:00

Attachments:

GoogleCodeExporter commented 8 years ago
Hi I feel the same way everybody eles feels...Sample had a hard time 
downloading!

Original comment by selahlov...@gmail.com on 20 Aug 2009 at 8:04

GoogleCodeExporter commented 8 years ago
New release based of Facebook's Graph API is coming soon.  SDK which this issue 
depends on is no longer supported by Facebook.

Original comment by alan...@gmail.com on 29 Sep 2010 at 7:49