We have been Amazon's affiliate for a little while (not long) and we are now starting implementing PA API 5.0.
Up till now, we used to build our affiliate referral links to the products through our CMS following this structure below:
amazon.com/[product-slug]/dp/[ASIN-code]/ref=nosim&tag=[our-affiliate-tag-code]
(variables between square brackets)
The links that are being fed to us through the PA API 5.0 (via scratch pad for now), however, have a different structure:
amazon.com/dp/[ASIN-code]?tag=[our-affiliate-tag-code]&linkCode=osi&th=1&psc=1
The ASIN and our tag are still there, of course, but what about the other codes? What about the ref=nosim as opposed to the new linkCode=osi&th=1&psc=1 ???
Is the former URL structure still valid? Would it still assign the sale as a valid sale for keeping access to the API? Do we need to replace all our old links?
Please advise. Thanks,
David
Related
I was trying out the Flutter exmaples for the Here Flutter SDK (explorer). One use case would involve retrieving details about the found places. I checked the Place class and based on the nested details class I expected that I could retrieve detail Information about e.g., evChargingPools and the included charging station. Nevertheless detail information (contact, opening time ..) would also be of interest.
Unfortunately and independend of the type of query (TextQuery, PlaceIdQuery, CategoryQuery) i used, i could only retrieve the categories as part of the details node.
I am currently using the freemium version. I checked the documentation and at least up to my knowledge it does no state under which constraints (well excluded the case, the data does not exist) these detail information are included, or how to retrieve them.
your CategoryQuery has to include the FuelStations Ids.
https://www.developer.here.com/documentation/flutter-sdk-explore/4.13.2.0/dev_guide/topics/search.html#search-for-places-categories
So init a SearchEngine and a CategoryCategory with the area and the PlaceCategory.id(id: 7600)
Source for PlaceCategories: https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics-places/places-category-system-full.html#400---transport
Sorry if i can't provide a SourceCode example (my app is written in Swift so no Flutter), but i can provide you a Postman Request for it :)
I want to Download and Upload, for example a .txt file, with the UA-Expert Client to/from a Server which i have set up on a Device.
Could someone provide me a Step by Step solution or an example on how to implement this?
I first followed the tutorials from the open62541 website.
I tried to follow and understand the OPC-UA-Specifications, particularly Part 5 Annex C.
Thank you in Advance.
open62541 doesn't support this out of the box meaning that there is no pre-made plugin which implements the required Objects for the various platforms.
That said it isn't to much work to do it yourself (especially if you don't need something generic/cross platform).
I've done such a one-off a few months ago. It was like 2 days of work. It was limited to downloading specific files from the server.
If my memory serves me well all you need to do is to enable the generation of the types specified by part5/annex c (there is a .txt or .csv in the sourcetree containing all the types that should be generated), after that you need to instantiate such an object (File for example) and place it somewhere in your server address space. What is left to do is to implement the various methods (open, read, ...) And to hook up your objects with callbacks to these.
This feature was added recently, but is not yet included into the official release.
Have a look at: https://github.com/opcua-tsn-team-kalycito/open62541/tree/fileType_object_implementation
(Make sure to use the commit 76eb14f6886911f954c40492cbe346c69b055ba5; the latest commit is not working)
An example implementation is:
UA_StatusCode result = UA_Server_addFile(server, FileTypeNodeId,
UA_NODEID_NUMERIC(0, UA_NS0ID_OBJECTSFOLDER),
UA_NODEID_NUMERIC(0, UA_NS0ID_ORGANIZES),
UA_QUALIFIEDNAME(1, "Sample File"),
oAttr, filePath, NULL, NULL
);
I'm creating an agent that interacts with an API I created, Auroras.live. However I always have troubles invoking the test version of the agent from my Google Home.
I really have to stress the "S" in Auroras, and I also have to say "dot", otherwise Google Home interprets it (I think) as Auroras Live, or Aurora.live, without the dot or "S"
This is definitely going to be a problem for others too, as they might not know to pronounce the dot, or forget to stress the "S", and as a result will get frustrated & not use my agent.
While filling out the app details, I tried using different invocations (such as "Talk to Auroras dot live" and "Speak to Aurora Live"), but it wouldn't let me do it, because I needed to use the exact title of my app.
What should I do? Should I (or can I) submit it as an easier to pronounce name (like "the aurora app")? Can I somehow tell Google to accept it with or without the "S" / dot? Any suggestions welcomed.
This is definitely a case where you would want your invocation name to be (slightly) different than your display name. I would list "Auroras Live" as your display name and "Aurora live" as the invocation name.
As part of the testing instructions, explain the problems you're seeing to the tester and request that both invocations be allowed.
If you want to clearly associate it with the auroras.live website, you could also mention that in the testing instructions (to include the dot), but you should probably also consider including a link to the site from the description and possibly from the action itself.
As Google Translate API is now paid i found MSTranslateVendor Example as reference.Now as i run this code and create API key and app id it will translate my text but after some time aprox 10 min it's translate functionality will stop. [As i do some r & d for translator,at all most i found this example link as reference]
Now while i create new App Id and key and run application it will works fine but after some time same problem arrives.Please let me know some use full solution or reference to Translate text.
For this Translation you have Two Options
1) You have to register your application and purchase the key (for Google Translate API)
2) Used any Web-service which will translate your word in particular Language and then show their response
I used second option,I create PHP Web-service for translating my word.
Here you may found use full blog for that
usage-google-translator-api-free
After you register with either Google or Bing translate, use FGTranslator to do the heavy lifting for you.
I am not a professional programmer. I am "a kitchen table programming enthusiast." My question is at the very end of this narrative.
In March of 2010, I figured out how to introduce my interactive database driven web app to the world by turning my web app into a Facebook Canvas Application.
Basically I built my web app prior to March 2010 using MYSQL, PHP, HTML, JavaScript, etc. using "dummies" books. Once I was convinced that my web app was functional as a standalone website, I pored through Facebook online documents to figure out how to turn my app into a FB Canvas App.
That was in March of 2010. Back then the process for turning a web app into a FB Canvas App basically involved getting files like the following, and saving them to the directories on my web host server:
-- At public_html:
-- config.php
-- facebook_desktop.php
-- facebook_mobile.php
-- facebookapi_php5_restlib.php
-- fbtest.htm
-- JSON.php
-- jsonwrapper_inner.php
-- xd_receiver.htm
-- At public_html/php:
-- facebook.php
Now here is my question:
My app has been working fine since March 2010, but now (since this morning) my app doesn't work at all (doesn't even open). I suspect this is due to requirements that changed related to migration to OAuth 2.0 and HTTPS -- requirements which I need to learn how to respond to.
What should be my first step toward at least enabling myself to continue using my own app on FB? Once we have figured that out, I will be seeking guidance on how to once again enable other FB members to use my app.
I hope some will find this thread helpful.
Thank You,
FL
There's an overview here: https://developers.facebook.com/docs/oauth2-https-migration/ which links to the docs and the blog posts which gave examples of how to migrate
Thank you, so much!
I have begun reviewing the material you have referred. I will continue to dig in, but I'd like to let you know that for now, I see these phrases which raise questions in my mind:
-- "If you are only using the PHP SDK (Software Development Kit) for authentication..."
-- "If you are using the JavaScript SDK for login..."
-- "Update to PHP SDK..."
-- "Update to JavaScript SDK..."
-- "Implementing the OAuth 2.0 authentication system..."
-- "Using the latest SDKs..."
Based on details in my original post is one able to determine whether I have currently implemented a PHP SDK or the JavaScript SDK? I don't know that I ever even used an SDK for establishing my means for Authentication and Authorization. I only knew my method as applying for a FB App ID, App Secret and copying a set of files to my server. Was my implementation method from March 2010 so old that it is neither PHP SDK nor JavaScript SDK?
Doesn't "updating an SDK" require that I had first implemented some sort of SDK?
If it turns out that I haven't used an SDK as part of my archaic means for authentication and authorization then what set of instructions is really applicable for me to migrate to OAuth2.0?
I am concerned that without seeing a step by step set of instructions, I will end up with extraneous and conflicting files on my server.
Does anyone know of any migration instructions like, "replace these files (file A, file B, file C and file D) from your web host server with these files (file E, file F, file G and file H)"
Thank you,
FL.