actionscript 3 - AS3: Post to Facebook Wall - Error #2032 -


i developing app visitors of event can take pictures using webcam , upload them facebook using as3-application. know can connect facebook, because can log user out using api , can information. problem can't post wall reason. keep getting following error:

error #2032: stream error. url: https://graph.facebook.com/********/feed  

i use following code post facebook:

private function postfb(e:event=null):void {     var _params:object = new object();      _params.uid = facebook.getauthresponse().uid;     _params.access_token = facebook.getauthresponse().accesstoken;     _params.message = "i @ thanksgiving day event.";     //_params.picture = _bitmap;      facebook.api("/me/feed", postcomplete, _params, "post"); } 

as i've said before, know connected facebook because if change "post" "get" in api-call, information of account. have correct permissions far know (read_stream, publish_stream, user_photos). use graphapi_web_1_8_1.swc api.

the documentation on entire api poor, trying figure out problem. it's been few years since i've tried of this, code has aged far now. so, ideas i'm doing wrong?

publish_stream deprecated (since years?), need use publish_actions.

if not work, make sure access token includes permissions, can test in debugger: https://developers.facebook.com/tools/debug/

side note: as3 not getting used anymore, last version of the as3 sdk 2011. may idea switch javascript sdk.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -