Outsystems platform: getting FullContact details for a person [closed] - social-networking

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have been doing a work in outsystems platform.
My works is a recruitment application where you add candidates to your app with a curriculum. You then choose the best ones to schedule an interview with, and eventually you can hire them to your company. Well, I don't known if you guys really need to know what my app is about, or what it does but I can explain better or eventually show it if it helps with my problem.
Well what I want is:
- When I register a candidate, I add a name, an email address, and a phone number. With this email, Outsystems offers a widget that can find all networks referred to that person (by email), that widget (I am not sure if this is the correct name for this tool, maybe API is more correct) can be found in Logic and inside the folder called Dependencies, that widget is called FullContact. To use that API you must create a new action. I did it and I filled the mandatory parameters called Email with Candidate Email. I am not sure what to put in APIKey parameter, I tried a lot of things and when I publish and test it I always have the same error called 403 Forbidden. What I am doing wrong?
I am not sure if this question is supposed to be done here, if it is not just tell me and I can delete the question and search somewhere else.
what I have is this: app print
I am not sure what to put in APIkey, I saw an example and the person that did it added an assign and an ajax refresh. Do I need it to? And this is the error I get when I test the app enter link description here

I never worked with FullContact before but from some researches I learned the following:
Overview: The FullContact Developer APIs are used to manage and enhance contact information.
Authentication: All requests to all endpoints require you to specify your unique API key. The API Key is assigned to you by FullContact and is used to identify and authorize each request. Your API key should be kept private, and should never be displayed publicly.
To signup and get your free trial: https://portal.fullcontact.com/signup
Note: FullContact isn't free, you can only apply for a trial or pay.
Pricing: https://www.fullcontact.com/developer/pricing/

Where did you get that action from? Was it from the LinkedIn Connector perhaps? If so, you might be lacking authentication. Check the documentation from available in the sample eSpace.

Related

How can I add Google server side sign in authentication to my Golang web application? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 months ago.
Improve this question
My question may lack specifics but I just cant understand how the whole process should work.. How I should implement it? What are the ways? Any guidance is welcome.
I have followed official documentation, their guides but even if I get something to work I dont really know if I am doing the right thing as is the end result what I need?
I think I need server side in order to store the sessions and credentials to the database.
It is a side task in my school, I am also limited to using only Golangs standard packages.
Not sure, What exactly you are looking but few things i am mentioning which might help you.
Google Sign-In for server-side apps :
Implementing the one-time-code flow :
The Google Sign-In button provides both an access token and an authorization code. The code is a one-time code that your server can exchange with Google's servers for an access token.
Create a client ID and client secret
Include the Google platform library on your page
Initialize the GoogleAuth object
Add the sign-in button to your page
Sign in the user
Send the authorization code to the server
Exchange the authorization code for an access token
For better understanding refer here : https://developers.google.com/identity/sign-in/web/server-side-flow
and https://cloud.google.com/go/getting-started/authenticate-users-with-iap and https://skarlso.github.io/2016/06/12/google-signin-with-go/
In Golang we have this library : https://pkg.go.dev/golang.org/x/oauth2/google
This is the example you can try by your own : https://dev.to/douglasmakey/oauth2-example-with-go-3n8a

REST API design for commands [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I have multiple servers and I'm building an app to control them, check their status, etc. I want to create an endpoint that allows me to turn the server on/off, however, I'm not sure how to properly design the REST API.
Currently, let's say I have a Server resource and the endpoint to control it is /api/servers/{id}/start and /api/server/{id}/stop. They are used by simply sending an empty POST request which turns the server on and off.
This works fine, but I'm not sure whether it is a clean design of the API. I haven't been able to find any recommendations on this topic.
What approach would you recommend in this situation?
Thank you!
This works fine, but I'm not sure whether it is a clean design of the API. I haven't been able to find any recommendations on this topic.
It is fine, but it could probably be better.
Short version: instead of POSTing an empty message to a specialized resource, prefer to POST a detailed message to the resource you expect to change.
Long version: any time you are trying to figure what to do in REST, the right starting point is to think about how you would do it with plain old web pages.
On the web, you would open a page that has a list of different servers; each of those servers would probably have some sort of status indicator, and links for each of the changes you might want to make. Following that link would bring you to a form, which might be pre-populated with data. You would change any necessary defaults, and then submit the form, and the browser would create the HTTP request that tells the web server to restart server #7, or whatever. TADA.
Notice that neither the browser, nor human being, need to know in advance which URI to use, because that information is included in the representation of the web page. The browser needs to know how links work, and how forms work. The human being needs to know which link to follow, and how to interpret the input controls in the form, but it is the server that decides what the identifiers are, and what key/value pairs should be used in the request body, and so on.
Given that, how do you decide what the target of the form action should be? One possible answer is to consider the implications of caching. RFC 7234 says that a successful POST will invalidate any cached representations of the target-uri. So if you POST the request to the webpage that you expect to be changed by the request, then you get the appropriate caching behavior "for free".
The cache invalidation rules are not flexible - they are designed to support the common case. If you have many cached pages that will be changed by a request, then you'll need to choose which one of them is most important for updating.
Matching those ideas to your case: it's probably the case that the most important document changed by your forms is /api/servers/{id}, so that's the document that should be the target of your form submissions
POST /api/servers/1
Content-Type: text/plain
STOP
POST /api/servers/1
Content-Type: text/plain
START

Is there direct API for Google Meet? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
This post was edited and submitted for review 1 year ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I'm creating a system where I want to generate Google Meet meeting from NodeJS code. Is there API for creating a new meeting in Google Meet ? There is button Create new meeting on https://meet.google.com/ and I want to do something similar using API
I know that it is possible to create meeting using Google Calendar API but I'm looking for direct API for Google Meet without creating calendar event.
[EDIT]
It does not solve my problem, but maybe would help someone else. There is also option to generate meeting using https://meet.google.com/lookup/[custom-meeting-name] but you need to have Google Workspace (former GSuite)
It is now possible to create a new meet by going to this url: http://meet.google.com/new
That being said, it's not immediately obvious how you could get the link for the generated meet.
Try http://g.co/meet/yourmeetingname. This redirects to the same meeting URL if they're on the same Google Apps account.
Found this at https://gsuiteupdates.googleblog.com/2020/03/hangouts-meet-edu-updates.html
There is currently no direct API for Google Meet
This is a bit of a hack, but you can create a new meeting using the Google Calendar API.
API Documentation: https://developers.google.com/calendar/v3/reference/events?hl=en_US
Google blog post (when Meet was Hangouts Meet): https://cloud.google.com/blog/products/application-development/hangouts-meet-now-available-in-google
In the request you can configure the conference details (i.e. Google Meet settings) and retrieve a meeting ID.
The only caveat, which is a big one, is the new Google Meet will be tied to the calendar that the API is authenticated against. Depending on who you want the meeting to be available to you'll probably have to play around with the permissions some.
Vote on the feature request
There is a feature request for a Google Meet API here:
https://issuetracker.google.com/157261118
It specifically is asking for a way to get participant information of meetings in real-time. Though it is the closest thing to a Meet API that I have seen on the Issue Tracker.
Go and give it a ☆ if you want! That way Google knows its something that people are interested, at the moment it only has one.
Please don't comment with "+1" ... just click the star icon
there is no direct api for google meet for now, but through the help of the google calendar api I have created a npm package that can be used to create meeting directly it gives you the google meeting links instantly.
https://www.npmjs.com/package/google-meet-api
add
"conferenceData": {
"createRequest": {
"requestId": "7qxalsvy0e"
}
},
inside your events while creating an event using google calendar API v3
a google meet link will automatically be created
For your specific purpose of creating a Google Meet meeting with an API call without using the Google Calendar API I am afraid there is no other Google API service to achieve this at the moment of this answer.
Yes. It's part of the Google Calendar API and you can find it here:
https://developers.google.com/calendar/create-events#conferencing

How do I determine which gmail permission is causing Google to send my clients 'Limiting access to data in your Google Account' emails? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
My clients are receiving emails like this (I quote the text, but it is an html email):
From: Google Accounts
Date: [OMITTED]
Subject: Limiting access to data in your Google Account
To: <[OMITTED my client's email address]>
Hi,
Although you don’t need to do anything, we wanted to let you
know that the following apps may no longer be able to access
some data in your Google Account, including your Gmail content.
If these apps are unable to meet the deadline to comply with our
updated data policy requirements, they'll lose access to your
Account starting July 15th, 2019.
[OMITTED my company's name]
We are making this change as part of ongoing efforts to make
sure your data is protected and private.
You can always view, manage and remove apps you’ve given
access to your account by visiting your Google Account.
Thanks,
The Google Accounts team
I operate a webapp that uses the following gmail API methods:
gmail.users.getProfile
gmail.users.messages.send
gmail.users.threads.get
As far as I know I am following all of the rules. I have searched through the Google APIs Console, but I cannot see what data policy I am violating.
How can I determine the data policy I am violating? Why hasn't Google reached out to me about this?
Is this a convincing phishing scam? These emails are being sent to my clients, so I don't have access to see if they are signed properly, but from what I can tell from the forwarded emails they appear to be authentic.
You are not violating any security policy. This is a standard mail that comes when ever a user connects their account to a new application containing high risk scopes (note as far as I know not all scopes will result in this mail but I haven't actually tested all scopes). This most often comes with the Gmail scopes in applications.
I would double check that your application has been verified it may help to remove some of the notifications your users are getting. Users should be informed by Google when they are accessing third party applications and warned about what that could mean.
The following scope is one of the most critical as far as Google is concerned this is most likely the one that will mean your users will always get this email when they authenticate your application. I wouldn't be surprised if all the Gmail scopes would result in that mail but I haven't tested it.
https://www.googleapis.com/auth/gmail.send
verification
This email is most likely related to the fact that this application has not been verified to use the gmail scopes. Gmail scopes are one of the most sensitive scopes as far as Google is concerned as the chance that they could be abused by malicious developers is even greater.
You should apply for verification as soon as you can google may contact you and ask for a video of your application running.
Unverified apps
In most cases it does NOT cost anything to be verified. In some cases, for particularly sensitive APIs, Google may require an outside audit of your code to make sure it does not put users of your program at risk.
After several hours of piecing together information across multiple sites along with a friend while waiting for further clarification from Google the following information was found which I hope will help developers in the future.
additional reading piecing together information available:
Elevating user trust in our API ecosystem while this page does mention "All fees are paid directly to the assessor and not to Google." it does not state an amount. Again i have never heard
of anyone having to pay for this. However I have contacted Google and requested that the page be updated with more accurate information as to what the fee entails.
Additional Requirements for Specific API Scopes
Why fee clearly states why a fee is charged. These assessments are done by a third party company that must be paid. It would be unrealistic IMO for a company wishing to develop an application using Googles API to expect Google to pay for this: IMO it makes perfect sense that the cost would be transferred to the company developing the application. they will after all be making money on the application.

Google QPX API key [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I am trying to obtain API key for QPX express but I stuck because QPX is not available in Google API Library on my account (I also tried other account).
Googe API Library screenshot
When I try use the API key without enabling API I get as result:
QPX with API key screenshot
When I go to link from description I see:
QPX api problem screenshot
I followed this instructions - https://developers.google.com/qpx-express/v1/prereqs
Is there any other way to obtain this key?
I've been having the same problem and then came across this:
https://developers.google.com/qpx-express/faq#EndOfServiceFAQs
QPX Express is shutting down in April and "New users can no longer sign up for the QPX Express API service"
same for me. i am assuming maybe it's because i am still on the free trial account and that api is not visible until you actually pay monhtly (like aws)
have sent an email yesterday.. hope someone will come back
Alternatively, can anyone suggest any other APIs i can use? i tried skyscanner but it does not show Ryanayr flights...
kr

Resources