Skip to content

Commit

Permalink
[tidev#1989] Put the facebook success/cancel urls in GET params inste…
Browse files Browse the repository at this point in the history
…ad of POST-- now the activity accurately sets the result.
  • Loading branch information
billdawson committed Oct 7, 2010
1 parent 254df70 commit 4b3b3d5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -43,14 +43,14 @@ public FBStreamDialog(Activity context, FBSession session,
protected void load() {
Map<String, String> params = new HashMap<String, String>(1);
params.put("display", "touch");
params.put("callback", "fbconnect://success");
params.put("cancel", "fbconnect://cancel");

try {
Map<String, String> postParams = new HashMap<String, String>(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);
Expand Down

0 comments on commit 4b3b3d5

Please sign in to comment.