r7205 - in dumbhippo/trunk/server/src/com/dumbhippo: services web/servlets
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7205 - in dumbhippo/trunk/server/src/com/dumbhippo: services web/servlets
- Date: Mon, 14 Jan 2008 22:51:00 -0600 (CST)
Author: marinaz
Date: 2008-01-14 22:51:00 -0600 (Mon, 14 Jan 2008)
New Revision: 7205
Modified:
dumbhippo/trunk/server/src/com/dumbhippo/services/FacebookWebServices.java
dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java
Log:
Set the method for the facebook.friends.getAppUsers request.
"bypass" parameter is probably case-sensitive.
Modified: dumbhippo/trunk/server/src/com/dumbhippo/services/FacebookWebServices.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/services/FacebookWebServices.java 2008-01-15 04:35:37 UTC (rev 7204)
+++ dumbhippo/trunk/server/src/com/dumbhippo/services/FacebookWebServices.java 2008-01-15 04:51:00 UTC (rev 7205)
@@ -313,6 +313,7 @@
public List<String> getFriendAppUsers(FacebookAccount facebookAccount) {
List<String> params = new ArrayList<String>();
String methodName = "facebook.friends.getAppUsers";
+ params.add("method=" + methodName);
params.add("session_key=" + facebookAccount.getSessionKey());
String wsUrl = generateFacebookRequest(params);
Modified: dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java 2008-01-15 04:35:37 UTC (rev 7204)
+++ dumbhippo/trunk/server/src/com/dumbhippo/web/servlets/FacebookServlet.java 2008-01-15 04:51:00 UTC (rev 7205)
@@ -206,7 +206,7 @@
"Mugshot allows you to display updates about your Netflix movies, Amazon reviews and wish list items, Digg, Delicious, and Google Reader shared items, Flickr, Picasa, and YouTube uploads, Twitter and blog entries, music and other services in a single place in your profile." +
"<fb:req-choice url='http://www.facebook.com/add.php?api_key=" + apiKey + "' label='Add Application!'/>",
"invite", "true", "method", "POST");
- xml.appendEmptyNode("fb:multi-friend-selector", "actiontext", "Whom would you like to invite to use Mugshot?", "showborder", "false", "rows", "4", "bypass", "Cancel",
+ xml.appendEmptyNode("fb:multi-friend-selector", "actiontext", "Whom would you like to invite to use Mugshot?", "showborder", "false", "rows", "4", "bypass", "cancel",
"exclude_ids", StringUtils.join(facebookTracker.getFriendAppUsers(user), ","));
xml.closeElement();
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]