so when i type simple thing it throws errors.here's my code
- Code: Select all
import Facebook.*;
FB.init({ access_token:access_token, app_id:addID, debug:true })
and the errors are - http://i.imgur.com/bY0sg.png
Any help?
by samsonadze » January 14th, 2013, 1:43 am
import Facebook.*;
FB.init({ access_token:access_token, app_id:addID, debug:true })
by Benjaminsen » January 14th, 2013, 1:44 am
by samsonadze » January 14th, 2013, 12:27 pm
FB.api({path:"/me/feed", method:"POST", params:{body:"message test",link:"ex.com"}})
ArgumentError: Error #1063: Argument count mismatch on Facebook::FB$/restCall(). Expected 2, got 1.
at Function/http://adobe.com/AS3/2006/builtin::apply()
at Facebook::FB$/api()
at example_fla::MainTimeline/frame1()
by samsonadze » January 14th, 2013, 12:29 pm
by samsonadze » January 14th, 2013, 12:34 pm
by Benjaminsen » January 14th, 2013, 6:48 pm
samsonadze wrote:oh well,i added callback too, and it worked,but LOl it throws trace error:
{error_msg="Invalid API key", error_code="101", request_args=[{key="path", value="/me/feed"}, {key="callback", value="c"}, {key="access_token", value="AAACEdEose0cBAFRDImcgboBJFVzydvalVCDx8DWq9OZBx4PI4fdEZBbKZBZBE8xjyrOlAp165h9GJEFdji5AlYQzNZBOZAutiwoqwWPE0xVhayuUBIi79o"}, {key="api_key", value="315502538548303"}, {key="method", value="POST"}, {key="format", value="json-strings"}, {key="params", value="[object Object]"}]}
what to do? -_-
i'm importing my app api key. -__- . i have to setup "open graph" thing on my app? i have no idea of open graph
by samsonadze » January 14th, 2013, 7:15 pm