Skip to content

victorpantoja/mobile-social-share-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Login:
http://myalbumshare.com:9080/user/login?username=victor&password=GUO5pc6lV

Create Application:
http://myalbumshare.com:9080/application/create?name=mss2&icon=icone.png&callback_url=l

Remove Application:
http://myalbumshare.com:9080/application/remove?token=5fc90514f6a7f65a3b4993846b5e56f7

Subscribe:
http://myalbumshare.com:9080/application/subscribe?token=5fc90514f6a7f65a3b4993846b5e56f7
Body: {"context":["location"]}

Unsubscribe:
http://myalbumshare.com:9080/application/unsubscribe?token=5fc90514f6a7f65a3b4993846b5e56f7
Body: {"context":["location"]}

List Application:
http://myalbumshare.com:9080/applications.json?auth=0cbcd4451a1403b269d703b722abd2b7

Sending Context:
POST: http://0.0.0.0:9080/context?auth=188f0a3e365bf54f67f615b1ca199c59

Body: {"application":["facebook", "twitter", "gplus", "mss"],"context":{"location":"aqui"}}


Facebook:
curl -F 'access_token=AAABnIwr18EEBAETL1hgLoU3TmL7WammLnJ4nUdZBWhtf0AylUeOEvRqyO7A8WkJf9gg3QN4DhgOttIRL7Q3tJVHpPeQzMOpJjPHhhQCI2aPrNAn3Y' -F 'message=Hello, Arjun. I like this new API.' https://graph.facebook.com/me/feed


https://www.facebook.com/dialog/oauth?client_id=113400205406273&redirect_uri=http://myalbumshare.com:8000/auth&state=SOME_ARBITRARY_BUT_UNIQUE_STRING

client:
https://www.facebook.com/dialog/oauth?client_id=113400205406273&redirect_uri=http://myalbumshare.com:8000/auth&response_type=token

Google Plus
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&state=%2Fprofile&redirect_uri=http://myalbumshare.com:8000/users/userprofile/auth&response_type=code&client_id=205845695739-juvl4ruak4faa3qrpk5qn95cos12dbi8.apps.googleusercontent.com

cliente:
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&state=%2Fprofile&redirect_uri=http://myalbumshare.com:8000/users/userprofile/auth&response_type=token&client_id=205845695739-juvl4ruak4faa3qrpk5qn95cos12dbi8.apps.googleusercontent.com