Skip to content

Conversation

@kodie
Copy link
Contributor

@kodie kodie commented Jul 25, 2017

We ran into an issue we're our server was getting throttled by the Facebook Graphs API due to too many requests to the public API.

I've implemented a way to add extra URL parameters to the service URL's so that you can add an access token or whatever else you need to the URL.

You set these by editing the $url_params array inside of config.php like so:

    public $url_params = array(
        'facebook'  => array(
            'app_access_token'  => 'YOUR_ACCESS_TOKEN_HERE'
        ),
        'linkedin'  => array(
            'some_url_param'  => 'url_param_value_here'
        )
    );

@abemedia
Copy link
Owner

Looks good to me but I won't have the time to test it until next week. Will merge it then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants