Fetch data using LinkedIn Companies API
- This script should be pusblished as a web app.
- The data fetched will be added to a spreadsheet. ID of this spreadsheet should be added as SPREADSHEET_ID
- The script requires a sheet with list of email domains/company names/ LinkedIn Company ID to query the LinekdIn Companies API.
- https://developer.linkedin.com/docs/fields/company-profile
- Create new App here: https://www.linkedin.com/secure/developer?newapp=
The script is based on a script I found through Google. If you are author of original script, please let me know, I will give you credit.
@Todos
- Instead of publishing this script as webapp use Sidebar or Popup to display the LinkedIn link (that starts the fetch process).
- I think generateRandomString() function can be optimized.