Emilian Tita

Results comments of Emilian Tita

No issues with Geth instance: Geth/v1.10.2-stable-97d11b01/linux-amd64/go1.16 at block: 12244448

Hi, I had the same issue. I just added support for that here: https://github.com/ryanwinchester/hubspot-php/pull/110

### The OAuth2 Integration flows like this: ### Redirect the customer to HubSpot so they can authorize your app * => getAuthUrl($clientId, $redirectURI, $scopesArray=array()) ### Assuming customer gives permission, it...

You can also use this: [https://github.com/ryanwinchester/hubspot-php/blob/master/src/Resources/Owners.php](url)

```php $clientId = "YOUR_APP_CLIENT_ID"; $clientSecret = "YOUR_APP_CLIENT_SECRET"; $redirectURI = "https://www.yourHubSpotApp.com/check_code"; $scopesArray = array('content', 'social'); // Get the user to click the $authorizeLink in your app $authorizeLink = $hubspot->getAuthUrl($clientId, $redirectURI, $scopesArray);...

Sorry, try loading these: ```php require_once "src/Http/Client.php"; require_once "src/Resources/OAuth2.php"; use SevenShores\Hubspot\Http\Client; use SevenShores\Hubspot\Resources\OAuth2;

Try to add this after the auto load: ```php require 'vendor/autoload.php'; require_once "src/Resources/OAuth2.php"; # If it works, you'll probably want to add Contacts too...

Oh, I think you found a bug... This method is not included in the Factory ```php /** * Class Factory * * @method \SevenShores\Hubspot\Resources\BlogAuthors blogAuthors() * @method \SevenShores\Hubspot\Resources\Blogs blogs() *...

Yes, of course. You would need to call the method exactly as named after adding it to the Factory: @method \SevenShores\Hubspot\Resources\OAuth2 oauth2() Then it should be $hubspot->oauth2() @method \SevenShores\Hubspot\Resources\OAuth2 OAuth2()...

Here's another example with the HTTP client: ```php $this->httpClient = new Client( array( 'oauth2' => true, // true if you have an accessToken | false if you're using the HAPIKey...