Hi. We are using latest version of partuza as our container but we are encountering problems especially with accessing own friends list. We'd like to ask some help regarding the following problem with this application :
http://hosting.gmodules.com/ig/gadgets/file/110087403579029092019/listfriends.xml - unable to access friends list by an application More specifically, instead of showing one's actual friends, the list only shows one's own name: e.g. Friends of Jack: Jack instead of Friends of Jack: Jill John George We installed this app in orkut, and it worked fine there. Here are our configuration files: Partuza: config.php <?php 'language' => 'en_US', 'web_prefix' => '', 'container' => 'myContainer', 'gadget_server' => 'http://shindig.whatever.dom', 'partuza_url' => 'http://partuza.whatever.dom/', 'st_max_age' => 60 * 60, 'allow_plaintext_token' => true, 'token_cipher_key' => 'Whatever', 'token_hmac_key' => 'Whatever', 'db_host' => '127.0.0.1', 'db_user' => 'partuza', 'db_passwd' => 'dbpassword', 'db_database' => 'partuza', 'db_port' => '3306', 'data_cache' => 'CacheStorageFile', 'cache_host' => 'localhost', 'cache_port' => 11211, 'cache_time' => 24 * 60 * 60, 'cache_root' => '/tmp/shindig', 'upload_quota' => 50 * 1024 * 1024, /* 'site_root' => realpath(dirname(__FILE__)), 'library_root' => realpath(dirname(__FILE__) . "/../Library"), 'application_root' => realpath(dirname(__FILE__) . "/../Application"), 'views_root' => realpath(dirname(__FILE__) . "/../Application/Views"), 'models_root' => realpath(dirname(__FILE__) . "/../Application/ Models"), 'controllers_root' => realpath(dirname(__FILE__) . "/../Application/ Controllers") */ 'site_root' => "/home/path/partuza/html", 'library_root' => "/home/path/partuza/Library", 'application_root' => "/home/path/partuza/Application", 'views_root' => "/home/path/partuza/Application/Views", 'models_root' => "/home/path/partuza/Application/Models", 'controllers_root' => "/home/path/partuza/Application/Controllers" ); --- Shindig: local.php <?php $shindigConfig = array( 'person_service' => 'PartuzaService', 'activity_service' => 'PartuzaService', 'app_data_service' => 'PartuzaService', 'messages_service' => 'PartuzaService', 'album_service' => 'PartuzaService', 'media_item_service' => 'PartuzaService', 'token_cipher_key' => 'Whatever', 'token_hmac_key' => 'Whatever', 'token_max_age' => 60 * 60, 'base_path' => '/home/path/shindig/', 'features_path' => '/home/path/shindig/features/src/main/javascript/ features', 'container_path' => '/home/path/shindig/config/', 'javascript_path'=> '/home/path/shindig/javascript/', 'container_id' => 'myContainer', 'oauth_lookup_service' => 'PartuzaOAuthLookupService', 'extension_class_paths' => '/home/path/partuza/Shindig' //'extension_class_paths' => '../../partuza/Shindig' ); --- Shindig: myContainer.js {"gadgets.container" : ["myContainer"], "gadgets.parent" : null, "gadgets.lockedDomainRequired" : false, "gadgets.lockedDomainSuffix" : "-a.example.com:8080", "gadgets.iframeBaseUri" : "/gadgets/ifr", "gadgets.jsUriTemplate" : "http://%host%/gadgets/js/%js%", "gadgets.oauthGadgetCallbackTemplate" : "//%host%/gadgets/ oauthcallback", "gadgets.securityTokenType" : "insecure", "gadgets.osDataUri" : "http://%host%/social/rpc", "gadgets.features" : { "core.io" : { "proxyUrl" : "http://%host%/gadgets/proxy?refresh=%refresh%&url= %url%%rewriteMime%", "jsonProxyUrl" : "http://%host%/gadgets/makeRequest" }, "views" : { "profile" : { "isOnlyVisible" : false, "urlTemplate" : "http://localhost/gadgets/profile?{var}", "aliases": ["DASHBOARD", "default"] }, "canvas" : { "isOnlyVisible" : true, "urlTemplate" : "http://localhost/gadgets/canvas?{var}", "aliases" : ["FULL_PAGE"] } }, "rpc" : { "parentRelayUrl" : "/gadgets/files/container/rpc_relay.html", "useLegacyProtocol" : false }, "skins" : { "properties" : { "BG_COLOR": "", "BG_IMAGE": "", "BG_POSITION": "", "BG_REPEAT": "", "FONT_COLOR": "", "ANCHOR_COLOR": "" } }, "opensocial" : { "path" : "http://%host%/social/rpc", "invalidatePath" : "http://%host%/gadgets/api/rpc", "domain" : "shindig", "enableCaja" : false, "supportedFields" : { "person" : ["id", {"name" : ["familyName", "givenName", "unstructured"]}, "thumbnailUrl", "profileUrl "], "activity" : ["id", "title"] } }, "osapi.services" : { "gadgets.rpc" : ["container.listMethods"] }, "osapi" : { "endPoints" : [ "http://%host%/social/rpc", "http://%host%/gadgets/ api/rpc" ] }, "osml": { "library": "config/OSML_library.xml" } }} Any help would be appreciated. Thanks.
-- You received this message because you are subscribed to the Google Groups "Implementing OpenSocial Containers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/opensocial-container?hl=en.
