Pulling stuff from social networks
Closed this issue · 1 comments
RoySegall commented
- Github
RoySegall commented
OK, Now all i can pull data from all social networks.
The next problem is that the access tokens are stored in the session service but I need to be store for ever. A new service is needed: SegallIoCorePersistantAccessTokens
. It will be like:
$pat = \Drupal::service('persistant_access_token_manager');
// This will be a plugin since each access token has a diferent approach.
$pat->get('github');
$pat->getAccessToken();