App reviews, troubleshooting, and recommendations
i am working on remix app, i want to get list of all articles, remix have blog id or author name to get blog, but i want to get all blog in one request,
i found this URL: articles i hit the request i get this response
<Html>
<body>
<div id="redirect" data-url="https://admin.shopify.com/login?errorHint=no_identity_session"></div>
<script>window.location =
decodeURI(document.getElementById('redirect').dataset.url);</script>
</body>
</Html>
show i update scopes but not update in
scopes = "read_content,read_files,read_products,write_content,write_files,write_products"
export const loader = async ({ request, context }: LoaderFunctionArgs) => {
const { admin, session, sessionToken } = await authenticate.admin(request);
console.log({
session,
});
return null;
};
resposne ---> {
session: Session {
id: 'store.myshopify.com',
shop: 'store.myshopify.com',
state: ''",
isOnline: false,
scope: 'write_content,write_files,write_products',
expires: undefined,
accessToken: ''accessToken",
onlineAccessInfo: undefined
}
}
have any alternative way to get all articles post
thank you 🙂
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024