Thank you very much for your reply.
Just now I understand that we need to set authorization ie access token here as well.
I got the access token for it.
Have set it in the code and run it now the code is working perfectly.
But there is a huge problem.
The access token we receive comes with an expiration of only one hour.
What is a better solution to increase its expiration time?.
Can it not be acquired for lifetime?.
Because getting token every time and the process of getting it is also very complicated which takes time.
Dear Sir, please suggest a solution for this so that once I set it in the code, I don't have to replace it again and again and when I run the code, the code works correctly..
--
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lua-l+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lua-l/J3ertmgVey8hCZnAcfe1mE_dXh1rV2gg1oZlfqf1VIEDCzGb0bi99fAEQGSiWl1Fr864MCd6m8KJP9Ry5jKW0bzkrYbNldrL12EbX1YSRMc%3D%40calamity.inc.
Thank you very much for your reply.Just now I understand that we need to set authorization ie access token here as well.I got the access token for it.Have set it in the code and run it now the code is working perfectly.But there is a huge problem.The access token we receive comes with an expiration of only one hour.What is a better solution to increase its expiration time?.Can it not be acquired for lifetime?.Because getting token every time and the process of getting it is also very complicated which takes time.Dear Sir, please suggest a solution for this so that once I set it in the code, I don't have to replace it again and again and when I run the code, the code works correctly..
This will happen if you click "Regenerate key" on a normal key, which, when created, should exist forever. If you do this once, though, it enters a state where it needs to be updated every 24 hours.
You can create a new key if you did this by accident, and if you don't click "Regenerate key", it should never expire.
This is for the GoogleAPI keys that I use, I don't know if there is something specific to the Vision server.
--
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lua-l+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lua-l/7bb368ec-8473-40b8-b302-676c0cc93e58%40app.fastmail.com.
But this is a big problem because the access token which is available for one hour can be taken by anyone by logging in with their email, there is no need to create an account and get an API. A link is used for any project, for example, the link used for Google Cloud Vision or Google Maps is a universal link that anyone can use..So what's the difference between someone who creates an account and someone who gets a simple token?.Dear sir, can you please help me further in this matter to create a function in lua by which we can get our access token by giving our fresh token..Or suggest a way in which we can obtain a long-life access token by providing our private key and service account information..
--
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lua-l+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lua-l/024faffe-3ed5-46f2-9939-b4ab8ee150abn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "lua-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lua-l+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/lua-l/958b15de-0c4f-4e33-9400-6814887848f4%40app.fastmail.com.