How to integrate the smart sheet in my php website.i want to show the smartsheet of each staffs in there dashboard. I want to authenticate and show all smartsheet options in dashboard.
You can use the Smartsheet REST API from PHP to pull back information from Smartsheet and display it in a web page. Please see the Smartsheet API Documentation for information. Since Smartsheet's API is a standard REST API using OAuth 2, standard PHP libraries for calling REST APIs will work with the Smartsheet API. Some examples of calling REST APIs from PHP are below:
Using curl and PHP to talk to a REST service
Call a REST API in PHP (Stackoverflow)
How to make REST calls in PHP
Make Yahoo! Web Service REST Calls with PHP
Interact with the Force.com REST API from PHP
If you want to experiment with the API without dealing with OAuth, the Smartsheet API supports User-generated Access Tokens to make authentication easier.
Related
I am new to smart sheet. I need to use smart sheet API inside an Node Application to get sheets which are being uploaded by a user. I have gone through the documentation of smart sheet API. Document says to call API first need to get auth code which requires client_id. After getting auth code, need to get token.
I am not sure if I need to contact that user to get client Id or need to create new account. What should be my next step.
Having others use your application to get their data would require you to have them login to your app using their Smartsheet credentials. Then as the requests are made they can be done as that user. This is can be done by implementing the Smartsheet OAuth flow. There is more information on this in the Third-party App Development section of our API docs.
If you are using Node.js you can see a simple implementation of using our SDK on Github here.
As for the OAuth flow there is also an example of implementing that in Node.js on the Smartsheet Samples Github.
I'm building an app that supports credentials authentication, facebook and google oauth on both Android and iOS.
My backend are written using ServiceStack.
For authentication using a browser we typically call /api/auth/facebook and ServiceStack handles the callbacks and exchange of information from the social provider such as facebook for a person logging in the first time and it also handles signing in a returning user via the same api endpoint.
When trying to connect to add support for facebook authentication or google in Xamarin app how do I call the ServiceStack endpoints to properly authenticate. How are the callbacks handled on mobile?
I'm a bit stuck with this
Have a look at the TechStacksAuth repository which provides an example of how to use the Xamarin.Auth component to authenticate with a ServiceStack OAuth backend like Twitter.
Can I create a new Facebook app to use old REST api for user authentication. I would like to use the method auth.login for user authentication. Is it possible to use REST api with new facebook apps?
The Facebook's legacy REST API does not work for new Facebook apps registered after Apr/2013. However, REST API is still supported for existing Facebook app created before Apr/2013.
You will get "Error 3 : Application does not have the capability to make this API call" when trying to access REST API from the new Facebook app.
For newer Facebook app, please use Graph API to achieve the similar functionality as in the legacy REST API.
The REST API is deprecated now. Blog post here: https://developers.facebook.com/blog/post/616/
We want to update our user profiles with information from LinkedIn (should the user choose to import this information). However, we want to this this authorization using Oauth2, but accordoing to LinkedIn's website only Ouath 1.0a is supported for their REST API: https://developer.linkedin.com/apis
Any way around this?
As LinkedIn is providing OAuth 2 access using their JavaScript API you could dive into their Javascript code and somehow get to the file, that has the OAuth 2 endpoints in it:
l.api = "https://api.linkedin.com/v1";
l.login = "https://www.linkedin.com/uas/connect/user-signin";
l.authorize = "https://www.linkedin.com/uas/oauth2/authorize?immediate=true";
[...]
l.logout = "https://www.linkedin.com/uas/connect/logout?oauth_token={OAUTH_TOKEN}&api_key={API_KEY}&callback={CALLBACK}";
l.userspace_renew = "https://www.linkedin.com/uas/js/authuserspace?v=0.0.2000-RC1.20001-1400&api_key={API_KEY}";
For requesting resources, probably the endpoints in their REST API documentation could be used.
However, note that it is probably forbidden by their terms of use to use these endpoints without their JS API and could result in your client being sanctionized. You could contact them and ask for permission.
I've created a Play 2.x client in Scala and Java which supports OAuth/CAS/OpenID/HTTP authentication and user profile retrieval : https://github.com/leleuj/play-pac4j.
For OAuth support, it's based on Scribe and supports LinkedIn, Facebook, Twitter, Google, Yahoo, DropBox, Github, Windows live, WordPress...
I am new to facebook graph api. I have gone through the restfb client which uses graph api to connect facebook. It has publish,fetching objects methods etc.
I am in need of creating a wsdl in order to connect and upload a photo in facebook from outside?
How can i create a wsdl which should have an interface to connect and upload photo in facebook?
Facebook exposes its webservices through RESTfull webservice.
RESTfull webservices typically don't have a wsdl file where you can directly create a client.
But facebook does provide client library in many popular languages you can use any of those to connect to facebook.
RESTfull webservices are also easy to use. You can also make REST calls directly without any library. Like curl in php. HTTPUrlConnection in Java.