-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
40 lines (26 loc) · 2.05 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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