i like to learn how to use instagram-
Heading
api on windows application i try to search a websites and found only asp.net and py etc . but i want to use api on windows application like telegram messenger
anybody help me?
You use the API in the same way regardless of whether or not you have a Web application or a Windows Form / XAML. There are even existing wrappers you can use.
Related
In my win-fourms application, I would like to do something like to use the account password similarly to how apple has the touch id API. I could not find any information on this. Here is an example I saw in the built in groove music app in windows 10:
Thank you!
When Microsoft built the Universal Windows Platform (UWP) they built in an authentication library that allows you to use user's Microsoft Accounts. There is no built in support for this in WinForms or WPF apps.
However, you can use the Microsoft OAuth endpoint to accomplish the same thing, it just won't look the same (requires a browser popup for starters). More information can be found here:
https://learn.microsoft.com/en-us/azure/active-directory/active-directory-v2-protocols-oauth-code
The code basically requires doing a bunch of REST calls and providing a listening socket for an asynchronous response.
I'm planning to write an application in c# in visual stuio 2013 that will allow a facebook user to login and receive their facebook notifications straight to the desktop as popups. Ive searched around and cannot seem to find whether or not it is possible to get notifications from facebook as soon as they happen and react to them in a suitable way, i'm wondering if this is possible and which bits of the api/ sdk i would need to use to get this to work.
Thanks in advance,
Alistair
Reading from the Facebook Developer's page(https://developers.facebook.com/), there isn't any specific SDK to C#, for desktop applications
.
But there is a SDK for Javascript, maybe a web application can be an option for you.
Ultimately I want to create a desktop app that allows users to update their own status, view status' of their friends, update pics etc. - basically a lot of the functionality the facebook website provides. Through looking through some tutorials and sample projects it seems that an app must be created for the facebook account. Now is this the facebook account of the developer (i.e. mine) - which will provide an API key that will allow any other user to log in?? Does every desktop project need to authenticate the user through a facebook dialog window to take the users' credentials?? Where does OAuth fit into this?? If anyone can shed any light as to the structure of the facebook api and the ways in which I can grant this functionality from say a WPF C# app for example I would really appreciate it.
EDIT: Before complaints of a potentially huge question or too 'vague', my question is specific to the integration/use of the facebook API in desktop applications - not how to then retrieve status feeds etc. I'll work that out myself.
Per Facebook documentation, all desktop apps will need to implement some form of web browser integration, whether embedded within the desktop app or controlled.
See: http://developers.facebook.com/docs/authentication/
Desktop Apps
Our OAuth 2.0 implementation does not include explicit desktop app
support. However, if your desktop app can embed a web browser (most
desktop frameworks such as .NET, AIR and Cocoa support embedding
browsers), you can use the client-side flow with one modification: a
specific redirect_uri. Rather than requiring desktop apps to host a
web server and populate the Site URL in the Developer App, we provide
a specific URL you can use with desktop apps:
https://www.facebook.com/connect/login_success.html.
Don't worry it took me two solid days of trial and error and re-re-reading of the documentation on authentication to finally "get" it.
Can I use the facebook API to make a windows desktop application? Like create a chat client to use to chat with facebook users??
yes, while I have not done it myself, there seem to be standalone apps developed for facebook like FaceoffIM... so I am assuming you can.
If I remember correctly, Telerik is maintaining something in Silverlight called fdek... which would again mean in principle it is possible.
There is also a Facebook C# SDK available on Codeplex which might be of use... under its project description it states "The Facebook C# SDK helps .Net developers build web, desktop, Silverlight, and Windows Phone 7 applications that integrate with Facebook."
Yes, you can develop desktop applications that interact with the Facebook API's.
You can use the C# SDK which is introduced in this official blog post https://developers.facebook.com/blog/post/395
Basically, any desktop application just needs to send http web requests to the Facebook API's. The easiest would be to use the the Graph API (https://developers.facebook.com/docs/reference/api/)
Hope this helps.
So we already have a web service that was develop a long time ago. It's the legacy .net web service (not WCF)
I'm looking into how to build a web application that i'll be able to run on multiple different devices : IPhone, IPad, Android.
So far i've seen PhoneGap : http://www.phonegap.com/. This is interesting for us because it seems to allow us to use Native Device Features. Our app needs to use Scanning capabilities.
Since phonegap is based on HTML ... would it be possible to have it communicate with our legacy web service? How can this be achieved?
Let's say our app don't need to use any device native features, I guess just building a regular ASP.NET page should work right?
Do I have to make modification to our existing webservice? Like making it RESTful?
Any advice is appreciated,
Thanks,
You simply create an XMLHttpRequest in Javascript, pass in your GET/POST parameters, and handle the XML which the webservice returns. It's quite simple, really!
jQuery gives javascript developers $.get and $.post functions which make this extremely easy. Remember, you can use any javascript library and function supported by the devices webview within your phonegap application!
Titanium Appcelerator is another alternative.
The application is developed in javascript and native code generated for iPhone, Android and in the latest release for Blackberry as well.
EDIT: Here is a comparison of Phonegap and Titanium.
Related discussion on Stackoverflow:
Is Titanium appcelerator worth it for developing camera based application on ipad, iphone and android?