| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| snsframe | 2012-11-20 | ||
| README.txt | 2012-11-21 | 1.6 kB | |
| Totals: 2 Items | 1.6 kB | 0 |
[System Requirement]
- JDK 1.6 above
- MySQL 5.5 above
- Web Application Server (Tomcat 6.0 above)
- Maven 3.0
[Setup Environment]
1. Create tablespace using the tablespace name 'sng'
2. Run the script 'sng.sql' to create tables
3. Include the '$MAVEN_HOME/bin' to the PATH
4. Move to the project home directory of snsframe
5. Run 'mvn clean package -DskipTests'
6. Deploy the sng.war file from the project home to WAS
7. Modify 'sng/WEB-INF/classes/properties.xml' file for your properties.
(socailAuthProperties, sngSystemProperties, dbProperties)
[SNSFrame API Server]
1. oauth api
- for facebook : http://[domain or server ip]:[port]/sng/facebook/oauth.json
- for twitter : http://[domain or server ip]:[port]/sng/twitter/oauth.json
- for linkedin : http://[domain or server ip]:[port]/sng/linkedin/oauth.json
2. publish api ('uId' value get from oauth api response)
- for facebook : http://[domain or server ip]:[port]/sng/facebook/publish.json?uId=[]&message=[]
- for twitter : http://[domain or server ip]:[port]/sng/twitter/publish.json?uId=[]&message=[]
- for linkedin : http://[domain or server ip]:[port]/sng/linkedin/publish.json?uId=[]&message=[]
3. getfeed api ('uId' value get from oauth api response)
- for facebook : http://[domain or server ip]:[port]/sng/facebook/getfeed.json?uId=[]
- for twitter : http://[domain or server ip]:[port]/sng/twitter/getfeed.json?uId=[]
- for linkedin : http://[domain or server ip]:[port]/sng/linkedin/getfeed.json?uId=[]
[SNSFrame Admin Site]
1. Open 'http://[domain or server ip]:[port]/sng/'