source/php/Module/Social/Feed.php
public function getPinterestuser()
    {
        $endpoint = 'https://api.pinterest.com/v3/pidgets/users/' . $this->args['query'] . '/pins/';

        $curl = new \Modularity\Helper\Curl();
        $response = $curl->request('GET', $endpoint);

        return json_decode($response)->data->pins;
    }
public function getPinterestuser()
    {
        $endpoint = 'https://api.pinterest.com/v3/pidgets/users/' . $this->args['query'] . '/pins/';

        $curl = new \Modularity\Helper\Curl();
        $response = $curl->request('GET', $endpoint);

        return json_decode($response)->data->pins;
    }
public function getPinterestuser ( ) { $ endpoint = 'https://api.pinterest.com/v3/pidgets/users/' . $ this -> args [ 'query' ] . '/pins/' ; $ curl = new \ Modularity \ Helper \ Curl ( ) ; $ response = $ curl -> request ( 'GET' , $ endpoint ) ; return json_decode ( $ response ) -> data -> pins ; }
Get Pinterest user's feed
@return object Feed
Get Pinterest user s feed