From 4b3b3d5e03e98363198532c0d62e52568f024476 Mon Sep 17 00:00:00 2001 From: billdawson Date: Thu, 7 Oct 2010 06:01:33 +0200 Subject: [PATCH] =?UTF-8?q?[#1989]=C2=A0Put=20the=20facebook=20success/can?= =?UTF-8?q?cel=20urls=20in=20GET=20params=20instead=20of=20POST--=20now=20?= =?UTF-8?q?the=20activity=20accurately=20sets=20the=20result.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/ti/modules/titanium/facebook/FBStreamDialog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/modules/facebook/src/ti/modules/titanium/facebook/FBStreamDialog.java b/android/modules/facebook/src/ti/modules/titanium/facebook/FBStreamDialog.java index a371f0425aa..5d3ff90f051 100644 --- a/android/modules/facebook/src/ti/modules/titanium/facebook/FBStreamDialog.java +++ b/android/modules/facebook/src/ti/modules/titanium/facebook/FBStreamDialog.java @@ -43,14 +43,14 @@ public FBStreamDialog(Activity context, FBSession session, protected void load() { Map params = new HashMap(1); params.put("display", "touch"); + params.put("callback", "fbconnect://success"); + params.put("cancel", "fbconnect://cancel"); try { Map postParams = new HashMap(8); postParams.put("api_key", mSession.getApiKey()); postParams.put("session_key", mSession.getSessionKey()); postParams.put("preview", "1"); - postParams.put("callback", "fbconnect:success"); - postParams.put("cancel", "fbconnect:cancel"); postParams.put("attachment", attachment); postParams.put("action_links", actionLinks); postParams.put("target_id", targetId);