Company share with file attachment through API? - linkedin

I've been told it's possible to make company shares with file attachments, but I can't find anything about it in the documentation. In the Apigee console, I see a file attachment field in the body section, but I get a 400 Bad Request error when I try it. So is this really possible? Or is it only with the partners program?

Related

How to use the free resources in the Freemium Plan?

I have registered for a freemium account, and I want to get access to the Destination Weather API.
But when I try to link the URL through python, it says "error":"Unauthorized","error_description":"No credentials found"}\n' and has a response <40. When I try to generate the token, nothing appears on the output.
I wonder if I can use the free resources directly like this? Or if there are other approaches to test the data? Thanks in advance!!
enter image description here
enter image description here

Access control for items served from CDN

I was looking at the network request/response made by photos.google.com. When I clicked on an album, as expected, the server just returned a list of photo IDs in the album and the cdn url to download the photos. Then my browser made another request(s) to Google CDN using the urls returned earlier and downloaded the photos.
The CDN url looked something like (intentionally modified to post here):
https://lh3.googleusercontent.com/rpFgzMwheqshfkwelrklsjfkwejjlfjlsjfjsfjweojjsf
When I pasted the url in browser, it was able to download the photo even when I was not signed in.
So how does Google does access control at the CDN level? Does that mean I can access any photo of anyone if I know the random key at the end (I understand it's impossible to guess because it's a really really long random string)? How does Google generate this really long random url for each resource and maintain the mapping?
Assuming you're asking about user profile pictures, yes they can access them. Google has an official API for this.

LinkedIn API feeds

I'm looking into an issue where a clients LinkedIn feeds on their website have stopped showing. Debugging the problem I've found that I get a 403 error shown below:
Member xxxxxx does not have permission to get company xxxxx
As the LinkedIn authentication process can be quite difficult to comprehend, I had a look online to see if others have had the same problem, and managed to find this. It suggests there have been recent changes to the LinkedIn API and users are now required to be the administrator of the company. What exactly does this mean?
From the very beginning we have simply been accessed the feeds by generating a url like this:
https://api.linkedin.com/v1/companies/xxxx/updates?oauth2_access_token=ACCESS_TOKEN
This has worked in the past. Do we need to regenerate the Secret and API keys?
Update
Looking at the announced changes here:
https://developer.linkedin.com/support/developer-program-transition
It suggests that the following endpoint will still work (which is exactly what I have):
/v1/companies/{id}
So I'm not sure what I'm missing.
is the access token generated by a account witch is Admin of that company page?
If not hen you will get 403.
The requester needs to be admin of that comapny page in order to get company updates.

Set up email for a customer.details to get from them

This could be a question related to my area, but I dont know where to ask. There will be a page in our customers website. When they come to that page it will be populated with many email addresses.There will also be an attachment of type PDF. And some email content.They have exchange set up. I know very little about this emailing.Some reason always found it confusing. I need to get some details(email settings) from them for this page to work. Also the email addresses that the page will populate WILL contain other than their own domain address.i.e. gmails,msns or yahoos etc. So what is that I need from them?More questions coming. If you need more info,please ask. Thanks
I would suggest using EWS Managed API to communicate with the Exchange server. It's really not that difficult to use once you get your connection established. All you need from them is there credentials for their mailbox, or you could set up a service account with impersonation if you don't want to use theirs.
Here are some resources to get you started:
Download the EWS Managed API
Read conceptual content and 'How To' topics
See how it's done by downloading sample code
The sample code shows how to authenticate with Exchange, send emails, and a whole lot more. The Exchange developer documentation team continues to post new 'How to' topics.

Tracking an email

I am developing a bulk mail management project in ASP.NET. I want to track who opened my mails. I know that this can be done by embedding a small transparent image in my mail. So whenever the receiver opens the mail the image is automatically downloaded from my server. But I have no idea that how can I get to know that image is getting downloaded from my server and which mail id is downloading it. Please help me as early as possible.
Send email as html
Include somthing like
http://www.myserver.com/counter.aspx?userid=xxxxx'>
You may need to add some additional parameter to url, like email id to make sure you log only once, not every time user open an email
Inside counter.aspx run the code to log user and then output some image in the response.
I got another way out to get open statistics in following link:
http://www.aspnetemail.com/samples/emailtracker/default.aspx

Resources