Code Monkey home page Code Monkey logo

fb-page-feed's Issues

Add setLocale

I post in multiple idioms on my page so I need to be able to select the language when requesting the feed. I updated my version of your package locally but it would be nice if you could add it to the base code. Here are the changes :)

line 17
private $locale = null;

line 80

    /**
     * @param $locale
     * @return $this
     */
    function setLocale($locale) {
        $this->locale = $locale;
        return $this;
    }

line 142

            if ($this->locale) {
                $query['query']['locale'] = $this->locale;
            }

"An access token is required to request this resource."

Hi,

Should the API request work without manually setting an access token?

$config = [
  'secret_key' => '0101010101',
  'app_id' => '0101010101',
  'page_name' => 'mypage'
  'access_token' => '',
];
$data = FbFeed::make($config)->fetch();
var_dump($data);

Because, when leaving the access token empty(or commented out) I get:

"An access token is required to request this resource."

I think something goes wrong here, this returns false instead of the merged app_id with secret_key.

Endpoint must be reviewed and approved

Hello
Im getting the following msg: To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved.

i guess it will never work if your app isn't reviewed and approved by facebook, is that true ?

is there any kind of solution to bypass this issue.

Thank you for sharing

upgrade to guzzle v7+

when guzzle v7+ is in composer

- xmhafiz/fb-page-feed 1.1.4 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev] but these conflict with your requirements or minimum-stability.
    - Installation request for xmhafiz/fb-page-feed ^1.1.4 -> satisfiable by xmhafiz/fb-page-feed[1.1.4].

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.