public app php get products This post is outdated
I have developed the app with reference code in php which will get the product listing of stores who will install the app
The problem is that the code which i have used is for session based.
If multiple merchants installs the app then how it will work the authenication process?
$shopify = shopify\client($_SESSION['shop'], SHOPIFY_APP_API_KEY, $_SESSION['oauth_token']);
$products = $shopify('GET /admin/products.json', array('published_status'=>'any'));
is $_SESSION['oauth_token'] is same always for that particular store?