Sync images form Sales cloud to the marketing cloud - salesforce-marketing-cloud

I want to sync the images object from Sales cloud to the marketing cloud.
Like in sales cloud there is attachment object wherein the body field content the images but the marketing cloud not allow to sync that field.
So, is there any way to do that ?

I am looking for something similar and have not found any simply way to get this.
I have an option through pushing the files through REST API.
You can check the following link, which is the only solution I found so far.
https://salesforce.stackexchange.com/questions/197185/upload-pdf-to-content-builder-using-rest
Hope it helps

Related

billing clients for google api's

Questions regarding billing for Google API's or more specifically the places and maps Google API's.
We have an app which is part of a SAAS package. When clients use our Software we have maps and place's API built it, however we want to offset the cost of the bill using these API's to that particular client using the software.
Currently we have a single Google Project we created and enabled the API's on our own google account however this means we will foot the bill as its using our token.
Can clients somehow connect to our google project etc or do we simply need them to create their own google project and pass that token through? Is there a streamlined approach that covers this...
When we did for our multi tenant application we did create only one google project and billing was getting accumulated into a single account. We looked at what you're talked about but since google does not allow to bill separately without having separate google project. Google API billing works on google project id. We decided to bill our clients separately and handled all calls to Places API on a single google project.
Long story short - it was not easy to have our clients connect to our project without having them create their own google project we ended up with one google api project.
edit: also missed another important point - Google My Business API needed whitelisting for each project id so it was another reason to keep it as a single project
Passing the token to the application is a probably very bad idea and will result in a security risk for your client and their token if it is intercepted.
As a developer for the client they should create a token on their account and then they will be charged. They can then give it to you as the developer for use. This is however a gray area as technically you are not allowed to share your tokens with anyone TOC However i believe that client and developer relationship should be secure enough for sharing the token.
Ideally you should give the client the code they can then use their own token and run the application themselves.

trying to intergrate STRIPE payment gateway to my website on s3

I am trying to integrate STRIPE payment gateway to my website.
This website will be hosted on AWS S3 instance.
I tried checkout option from this
https://stripe.com/docs/checkout#integration-custom
and
https://stripe.com/docs/charges
I am losing the track in between.
Does anyone have a sequential flow for the same.
can anyone tell me how to create a token as well.
Any help is appreciated.
Regards
Unfortunately there is no direct way to use Stripe API in a static website (hosted in Amazon S3 or wherever). Because Stripe API needed server side integration like (PHP, nodejs, java or whatever).
For security reasons, Stripe doesn’t allow to make his solution works without server’s side code (to handle the payment process).
Stripe give this token back to you and after that you can perform any operation you want using Stripe API (create new order, pay a new charge, create a customer, …) by manipulating this only token (and not the real Credit Card number).
So, it is normal that you have lost your track to see Stripe API docs.
It is better to add a simple server to integrate Stripe API call in your side.
But some way around
You can find some online services that will do your server side thing which can resolve your problem.
Here is an example way around to use Stripe in static website.
You can find lot of alternative options to do it!
But remember use third party services to do your server side job
You will have to expose your Stripe API KEY to other place.
If you think it is safe to expose Stripe API KEY to other place than your website. Then it is okay. But it is not safe at all.

"Actions-on-google:error No user object" issue

I have lately been experimenting around (as a noob!) with Webhook. However, I seem to be stuck with an "actions-on-google:error No user object" issue.
Would appreciate if you could reach out and lend a hand please.
firebase log
index.js
The inline editor uses Firebase Cloud Functions and the issue is that Firebase isn't allowing you to make external requests ( EXT_PRAYER_TIME_API_URL = ...) with the current plan (see Cloud Function Pricing). You need to setup a billing account with your project and change your plan to one that allows you to make outbound requests.

Wordpress api, getting users data

I'm currently working on an application in titanium appcelerator, alloy - where I'm pulling data from wordpress via rest api.
My problem now is that I need to get the data from the the users of the of the wordpress site. Info like name, email ect.
Anyone ever tried or know how it's done? The end tag: /users? Doesn't seems to be enough
In accordance with official documentation on WP-API docs data that you need is not accessable through standart API requests and endpoints (it is only "visible" during editing).
But you can create your own route and using internal API/hooks to get all data and return it in json format in prefered way (see Adding Endpoints section on provided before site).

Use curl instead of browser to get auth_token

Looking at: http://developers.box.com/get-started/#authenticating on step #2 I'm trying to use curl to enter the credentials (user/email/password) to get the auth_token. I'd rather do it this way instead of directing the user to their browser because I'm making a script for syncing.
Anyone have an idea how I can do this? can I just do a POST with curl? I'm using v2 of the API.
You must send the user through the web page, unfortunately. However, since you are writing a script, you should also be aware that auth_tokens under the current system, so you can manually retrieve one and include it in your script.
Just one thing to note. If you don't use the standard authentication flow that goes through the Box web ui, then Box's large customers that have all their users sign-on with SSO (Active Directory and similar) logins, won't be your customers.
So, basically, if you want your app to be picked up by enterprise-level customers, then follow the building guidelines that Box provides.