facebook authentication using qt - qt

can authentication for facebook be done without a web browser in qt? the way i want to authenticate is to enter a username and password in text boxes and pass it as parameters in the url? is it possible? please help. thanks in advance.

Taken from this Stack Overflow answer by altuzar:
Have you seen KFacebook, the KDE client for Facebook?
KdePlayground and KFacebook
They have a library for Facebook API and a Plasma Applet as well.
It's easier using jQuery, probably. But Qt4 can do the work, I think.

Related

Flex mobile wrap html page

I'm trying to write an AIR application to be deployed on a mobile device.
I have an HTTPS website that I go to and log in using a browser. I can view things in my account, etc.
I want to use my AIR app instead of the HTTPS website. Can I "wrap" or "skin" an html site using AIR?
So I'm looking at StageWebView, URLRequest, URLLoader.
I need to POST things like username, password, and other things.
How can I do it?
See ExternalInterface on AS3 reference that you can use to call Javascript-functions on your site.
You can show HTML content with mx:HTML
If all you need to do is POST or GET, look into HTTPService
You might wanna have a look at the StageWebViewBridge, it has some extended features compared to the default StageWebView
http://code.google.com/p/stagewebviewbridge/
We wanted to use it in a project but ended up in implementing the URL based communication on our own. BUt you should give it a try, mabye it works for you.

login issues with Flex-Salesforce

I am using Flex-Force API to connect to Salesforce. I have hard coded my Salesforce login details in the code and using them to connect to Salesforce.
When I use my SWF directly it works fine but when I place it inside a VisualForce Page and try to access it the login functionality fails.
Has any one from you faced a similar issue while working in Flex-Salesforce or has some idea on this ?
Please suggest ..................
Thanks and Regards.
Ashine.
On a VisualForce page you should login with the SessionID not the credentials. To do this you need to setup the html object embed tag to pass the sessionID to the SWF and then call the loginBySessionId method to do the login. A complete walk through of how to do this is on my blog:
http://www.jamesward.com/2010/07/26/building-client-cloud-apps-with-flash-builder-for-force-com/

Displaying Facebook popups with .net Facebook SDK

Anyone know how to do this? I would like to programatically (sp?) open a box asking my users to type in what to publish, but I want it to look like Facebook's own boxes.
Cheers!
I don't believe the .NET sdk will do this for you. You will have to write or steal some JavaScript from elsewhere to handle the popups, and then control them and then control publishing from your back end.

authenticate website in qt

how do i go about in authentication of a particular website say facebook on qt?please help.i am new to qt.
say i want to use facebook in qt without using qt's webkit.i want to use the rest apis.the first step i want to do is to authenticate a valid user with a username and password.how do i link this username and password to be entered in qt to that of facebook. how do i start?
I have not tried it myself.
However the authentication you are talking about sounds like a html action, for that you are going to need to use the QtWebkit and the QWebPage, you can then issue JavaScript calls with the mainFrame()->evaluateJavaScript(); function.

What is the Credentials Element in an ASP.NET Forms Authentication section?

i noticed that a forms authentication element has an option child element called Credentials.
MSDN Online explains what it is, here.
That said, i don't understand what it would be used for? So i can add in a username and password (either clear/md5/sha1) to the config file.. but how/when is it used?
Is that an example of hard-coding in a username/password to be used with forms auth, instead of having a database? If so, is there any code behind? What happens if you also have a database with users/passwords?
cheers :)
You're exactly right... hard-coded username/passwords. That's it in a nutshell. Only time I've actually used it is on a project where we wanted to work on some code that required authentication, but didn't have the real mechanism wired in. It's just a placeholder for real authentication so far as I'm concerned.
MSDN seems to agree, given the warning note at the top of the docs you link to. You can use it side-by-side with a DB, but why bother?

Resources