Friday, 15 February 2013

facebook graph api - Access data from APIs like Hootsuite etc does (without user login) -


I have recently been working with the API, mostly Facebook API and now Instagram and Twitter API. But the common thing about them is how they work, thus the user must log in to their service at computer / web browser at the same time. For example, if I create a page where you can read your Facebook feed, the user will have to sign up on Facebook and authorize the app to create an account on my page. Next time, if he was using the same computer / web browser and did not sign out from Facebook, then this would not be a problem. But if he is using another computer or signed out, then he will be presented with a Facebook login.

I did not store any data in any of my databases, everything was directly used by Facebook

But the services like this do not work like this once upon a hootsut I can sign up, select a Facebook, sign in, and authorize the app, and then access my feet from any computer in the world, in which only one entry is in HootSuite How do Do they have a special agreement with Facebook, or can I learn and use myself (a service / something that is available to every Facebook app developer)?

And what exactly do they store a database? Is that my Facebook username / password, or a string of data that they have sent to Facebook for confirmation (I have not canceled any permissions) have seen it without?

Hope that some of you know this, it is very interesting.

Hi, I am currently developing for hootsuite and see if anyone I am still not answering the query, I try to give you some insights.

Hootsuite has internally used Developer API provided by LinkedIn, Facebook, Twitter and other social networks. There is a documented approach to using these APIs generally, it involves creating an application (here, a hootsuit app) on these social networks. This app has its own identity on these networks when you create an account at hootsuite , Then he asks you to add your social network accounts.

When you click on a social network name, an entry request is sent to the chosen social network by the hootsuite app. Destination Social Network first validates your app id (in this case, hootsuite), then it authenticates user credentials (username and password) and then presents you with an authorization screen that you Wants to access the data from the Hootsuite app.

This information is now an object compliant with an oauthaccess token with an authorization parameter, which is sent back to the hootsuite website, this is the lifetime of the token (such as the Linkin Access Token Lifecycle is 60 days), whose This means that it is valid for 60 days.

Hootsight your (Twitter, Facebook, etc. network) user name or password stores this othe token values ​​and whenever you use hootsuite, an oyot token can be used on your social network account plus hacksite account. Unique, which works like a superpass to read your data.

It is my likeness to hope that it helps.

No comments:

Post a Comment