Commit Graph
22 Commits
Author SHA1 Message Date
trogwarandJack Wall 3cddf40512 Fallback that will prevent causing errors in 4.x version of VK API 2016-08-31 23:25:01 +01:00
trogwarandJack Wall 63db282f91 Fix coding standards after PHPCS with PSR-2 2016-08-31 23:25:01 +01:00
trogwarandJack Wall b1a7744233 Remove unused code from tests – TODO write test to get access_token and user 2016-08-31 23:25:01 +01:00
trogwarandJack Wall 54e16ad046 Deal with situation when friends.get return only ids (integers, not objects) – only when no fields-option was passed 2016-08-31 23:24:56 +01:00
trogwarandJack Wall 5596bc7350 Sometimes, VKontakte sets user IDentificator as uid or id – use both of them in ID getter 2016-08-31 23:24:56 +01:00
trogwarandJack Wall 4ea360a0d1 Fix bug when id and email was set to null even if they're was in user response 2016-08-31 23:24:56 +01:00
trogwarandJack Wall 8f7813faf3 Update docs, bump PHP 2016-08-31 23:24:45 +01:00
trogwarandJack Wall 887aed2956 Reduce permissions (scope) and data for users by default (still can be extended via configuration) 2016-08-31 23:24:45 +01:00
trogwarandJack Wall ad2082add0 Implement additional getters in user for default scopes (may be null in some cases) 2016-08-31 23:24:45 +01:00
trogwarandJack Wall 394ddb4f38 Refactor User model to be more like Generic – to get more general behavior 2016-08-31 23:24:45 +01:00
trogwarandJack Wall 16ee969bdb Implement two basic VKAPI methods: users.get and friends.get 2016-08-31 23:24:45 +01:00
trogwarandJack Wall 5ba6995aba Drop getter for access token because default getter in abstract provider got and parse this fully correct 2016-08-31 23:24:45 +01:00
trogwarandJack Wall 61083772fb Refactor response validation: use meta from http, content type and two types of vkontakte error types. 2016-08-31 23:24:37 +01:00
trogwar 9d8576fba2 Refactor getting vendor data from token and drop code that used only in tests (not business logic, not internal) 2016-06-30 07:15:32 +03:00
trogwar f82c3645e7 Use configuration parameters like scope, version, base URIs to the top of provider and config files 2016-06-30 06:55:56 +03:00
trogwar ad18ce7d7b Use JSON only – other types are errors 2016-06-30 06:52:36 +03:00
trogwar 781c3cac39 Update tests to use new internal APIs (League Client, Guzzle, this repo) 2016-06-29 22:55:56 +03:00
trogwar 6652435afc Update User object of VK 2016-06-29 22:24:53 +03:00
trogwar b64d43ed62 Update code to use GuzzleHttp 6.x (was 3.x) that required by League client 2016-06-29 22:24:07 +03:00
trogwar d24b697274 Full implement AbstractProvider from League 2016-06-29 22:23:27 +03:00
trogwar 1fc50f236c Update method parameters and names 2016-06-29 22:18:23 +03:00
trogwar 3691945391 Upgrade League OAuth2 client library to stable 2016-06-29 22:09:26 +03:00