xmhafiz / fb-page-feed Goto Github PK
View Code? Open in Web Editor NEWSimple PHP package to get any Facebook Page posts
Simple PHP package to get any Facebook Page posts
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;
}
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
.
Hi there, I did everything as it was in tutorial, but it does not work at all :/. For more information, see my screenshot or https://beta.runwaycamp.cz/assets/test.php .
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
This is from the example:
$data = fb_feed()
->setAccessToken($accessToken)
->setPage($fbPageName)
->fetch();
However, I can't find the function in the code
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].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.