File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ $tinder->recommendations();
8181
8282## The MIT License (MIT)
8383
84- Copyright (c) 2015 Simon Sessingø / simple -php-router
84+ Copyright (c) 2015 Simon Sessingø / tinder -php-sdk
8585
8686Permission is hereby granted, free of charge, to any person obtaining a copy
8787of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ protected function authenticate() {
5757 }
5858 }
5959
60+ public function meta () {
61+ return $ this ->api ('meta ' );
62+ }
63+
6064 public function reportUser ($ userId , $ causeId ) {
6165 return $ this ->api ('report/ ' . $ userId , self ::METHOD_POST , array ('cause ' => $ causeId ));
6266 }
@@ -77,12 +81,16 @@ public function like($userId) {
7781 return $ this ->api ('like/ ' . $ userId );
7882 }
7983
84+ public function superLike ($ userId ) {
85+ return $ this ->api ('like/ ' . $ userId .'/super/ ' );
86+ }
87+
8088 public function pass ($ userId ) {
8189 return $ this ->api ('pass/ ' . $ userId );
8290 }
8391
84- public function updates () {
85- return $ this ->api ('updates ' );
92+ public function updates ($ lastActivityTime = '' ) {
93+ return $ this ->api ('updates ' , self :: METHOD_POST , array ( ' last_activity_date ' => $ lastActivityTime ) );
8694 }
8795
8896 public function recommendations () {
You can’t perform that action at this time.
0 commit comments