This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package json.demo; | |
import com.ibm.commons.util.io.json.JsonException; | |
import com.ibm.commons.util.io.json.JsonJavaFactory; | |
import com.ibm.commons.util.io.json.JsonJavaObject; | |
import com.ibm.commons.util.io.json.JsonParser; | |
import com.ibm.sbt.services.client.base.datahandlers.JsonDataHandler; | |
public class Main { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DEMONSTRATION PURPOSES CODE ONLY | |
# Run | |
# - python demo.py EMAIL_LOGIN PASSWORD COMMUNITY_UUID | |
# demo.py | |
# Demonstrates the process of getting information from the IBM SmartCloud for Social Business | |
# 1 - access to the contacts lists | |
# 2 - access to the community membership list | |
# 3 - from an access list converting it to a comma separate value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DEMONSTRATION PURPOSES CODE ONLY | |
# Run | |
# - python demo.py EMAIL_LOGIN PASSWORD COMMUNITY_UUID | |
# demo.py | |
# Demonstrates the process of getting information from the IBM SmartCloud for Social Business | |
# 1 - access to the contacts lists | |
# 2 - access to the community membership list | |
# 3 - from an access list converting it to a comma separate value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%String blogId = "Wd361f673ec26_43d4_b13a_5aa47d694352"; | |
String url = "/blogs/roller-ui/rendering/feed/" + blogId + "/entries/atom?lang=en_us"; | |
Endpoint ep = EndpointFactory.getEndpoint("smartcloudOA2"); | |
Response response = ep.xhrGet(url); | |
%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Social Business Playground</title> | |
<script type="text/javascript"> | |
dojoConfig = { | |
parseOnLoad: true | |
}; | |
</script> | |
<script type="text/javascript" src="http://localhost:8080/sbt.dojo180/dojo/dojo.js.uncompressed.js"></script> |
NewerOlder