Giter VIP home page Giter VIP logo

laravel-facebook-ads's People

Contributors

guardsmanpanda avatar leorentkelmendi avatar nikolajlovenhardt avatar palpalani avatar sanderha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

laravel-facebook-ads's Issues

How do I get insights ?

Any guide on how do I get insight for campaigns ? Not much documentation on how to use the package.

Does the package provide the ability to get authorization token through authorization form

Hello,

I have been using your package, and the authorization token its being fetched by simply using get file contents to the graph link all working.

My question is: does the package has the ability to get the token by authorization form where the user is asked to give the authroziation to the app ?

And can I pull user insights through my app ?

Thanks in advance for your response, Brad

run demo problem

hello

I cannot run this demo.here is the problem

An Api instance must be provided as argument or set as instance in the \FacebookAds\Api

(#2635) You are calling a deprecated version of the Ads API.

Hello,

I am trying to do a basic call to get the ads of the account but get this error:

(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v2.9.

I can create an instance perfectly :D but get stuck with trying to retrieve the ads :( Code below:

namespace App\Http\Controllers\FacebookMarketing;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

use LaravelFacebookAds\Services\FacebookAdsService;
use LaravelFacebookAds\Clients\Facebook;

class FacebookController extends Controller
{
    /** @var FacebookAdsService */
    protected $facebookAdsService;

    public function __construct(FacebookAdsService $facebookAdsService, Facebook $facebookClient)
    {
        $this->facebookAdsService = $facebookAdsService;
        $this->facebookClient = $facebookClient;
    }

    /**
     * Show ads
     *
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function index()
    {
    	$instance = $this->facebookAdsService->instance();

    	print_r($instance);//woo works! got my instance :D

    	$client = $this->facebookClient;
        $accountId = 'act_1234567890';
        dd($client->account($accountId)->ads()); //#2635 error :(
    }

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.