Read Amazon Shopping Cart - amazon-product-api

I am Developing an application(on Mobile) and one of the features needs to read the shopping cart a user has made on amazon.
The user opens amazon from any browser
the user opens my app
logins with amazon user and pass
after that i need the app to read the card and only display the items
is this possible ?
Thanks

Check out the amazon product advertising API. Be sure to read the full documentation.
The API has many methods that can be used to search, look up created and modify shopping cart.
Link:
https://docs.aws.amazon.com/AWSECommerceService/latest/DG/Welcome.html

Related

Flask - Retrieve Steam ID

I'm working on a Flask project and would like users to be able to connect one or more Steam accounts to their profile on the website. The user is not logging into my website with their Steam account, they are just registering a Steam account to a pre-existing profile on my site, so I'm not sure if I should be using OpenID or not.
I would like for there to be some way for the user to enter their Steam username, be shown a corresponding account, and register the account to their profile. Or alternatively, there is a button that takes the user to a Steam Login page, which redirects back to my website after logging in and passing back the needed data. I'm not picky how, I just need to somehow get the ID associated with a Steam account.
Everything I've found so far has been for logging into a website using a Steam account. I assume the process would be similar, and maybe easier, to just get back an ID based on user input, but so far I've had no luck.
Thanks for your help

Get access to product advertising api as a developer when you have "coming soon" website

I want to get credentials to use the Amazon product api for a project im working on, and to do that I need to open an Associates account.
When opening associates account they asked for a link, so I created a coming soon website in wix and gave this link.
After opening the Associates account I went to sign for product advertising api, but I can't sign up cause they say I need my application to be approved, and to get approved I understood I need to be accepted into the Associates Program.
To be accepted into the Associates Program I think I need to put link on my site and make a purchase from one of the product links in my site? not clear how that actually works...
some blog posts said they create some content on their site, which is fake, cant I just tell Amazon I need the api access so I can build my website and its not relevant before?

display amazon website under subdomain like cashbasha

How are you all ?
How can cashbasha.com display amazon store under "cashbasha" subdomain ?
Here is an example to understand what I mean:
http://en-jo.alpha-secure.shop.cashbasha.com
I searched over stackoverflow for same issue, i found this link:
How to embed an external webpage without using iframe?
But answers for that question is not useful anymore ! Cashbasha is a trusted Jordanian company and let user buying thorught amazon by the best easy way.
The user goes to cashbasha.com, browsing products and categories from amazon, then the user can add products to his cart in amazon, and checkout on cashbasha.
Let me return to the main question: How can cashbasha integrate amazon ?
After searching alot, I found that they are using Amazon API along with amazon professional seller account.
When you create amazon professional seller account, they give you an access to much more API functions rather than regular affiliate account.

Integrating DirectSmile with CS-Cart

I'm trying to use cs-cart to sell e-cards. I want to use DirectSmile.com API to customize the card from cs-cart itself. I'm familiar with the DirectSmile API; that's not a problem. I'm just wondering if there is a way to change the cs-cart workflow a bit to allow users to customize and buy such products.
Is that possible with cs-cart?
Thanks
It is possible. You can create an add-on to work with the DirectSmile.com.
Look at the "Gift Certificates" add-on. This add-on allows to add to cart a new structured product: Gift card.
So you can do the same: Create your own type of products.

Add application to Fb Page from outside Fb, add tab for it and configure if with specific data?

I have a simple product catalogue for businesses. There is a catalogue's management interface for adding products. Each business has a unique domain name where all its products are listed.
I would like to extend catagloue's functionality and allow businesses to have their products listed on facebook.
Functionality of the facebook application:
- Each business can install application from catalogue's management interface (I would like to have a button that opens facebook in a new window and prompts user to authorize access to one of user's existing Facebook Pages)
- installing application adds a Tab on selected Facebook Page,
- by clicking on a Tab visitor of the Facebook Page is presented with a list of products specific for this business. Data for that page is dynamic and can be accessed with a REST call and presented as json or html.
We would like each business that have a product catalogue with us to install application and have it automatically configured to use specific domain name when requesting product data.
Is it all technically possible? Could you point me into the right direction on how to
- install application from external website
- configure that application with a parameter (perhaps passed in url when requesting application installation)
- automatically add Page Tab for this application
Cheers,
Michal
Yes it is possible. But it'll be a little different from what you are thinking, i guess.
I recently implemented code to add a tab to a page programmatically, it is as follows(in PHP) :
$tabAdded=$facebook->api("/".$id."/tabs","post", array("access_token" => $access,
"app_id" => $fbconfig['appid']));
From the code we see that we need an app id, an access token, and the page id($id). $facebook is an instance of the FacebookPHPSDK.
So here's how we can get the three things in question:
First app id, you'll need to create a Facebook page tab app, select Page Tab in the app's Basic settings (where you can mention the page tab url. This url will have the content for a page tab.) You'll also need to enable website because you need to ask the user for necessary permissions (namely manage_pages). For your specific requirement you have to give the domain of the catalogue management app.
Second page id and access token, once you have manage_pages permission you can query the graph api to get the pages of the user using : api('me/accounts') this returns data with page name, page category, page id, page access token for all the user's pages.
#thaddeusmt has already mentioned that you can't create new applications, and need to use the same app, you have to read the signed request and get the page id, and serve content. All that will be left to do is link your customer domains to the correct page ids.
Hope this was useful.
You can install/uninstall (add/remove) application tabs to/from Pages using the Facebook API:
http://developers.facebook.com/docs/reference/api/page/#tabs
You cannot create new applications, however. So you will need to use the same application for each Page.
The way you can show different content for each Page in the Tab (using the same application) is by checking the Signed Request. This contains the ID of the Facebook Page. The code that serves up your application Tab can look at the Page ID and serve up the appropriate content for that Page.
I hope this helps get you on the trail. Good luck!
Yes it is possible.
It's a two way process
First you have to get page_access_token through graphAPI.
www.facebook.com/?fields=access_token
This will return Page_access_token.
Use page access token and use post method
www.facebook.com/yourpageid/tabs/
Post Parameters:
app_id= 'YourAppID'
access_token = 'access_token'
That way you can add your facebook app into facebookPage.