Is there an official API in the upcoming Mango release of WP7 to upload a file to skydrive?
If it is, where can I find an example and the API description?
According to this SO post:
SkyDrive functionality is not available to third-party developers. As
a matter of fact, there is no official public SkyDrive API.
Also see this other SO post.
UPDATE: (Credit to Eric for pointing out the change in API accessibility)
From the window steam blog:
The new version of the Live Connect APIs and the Live SDK for Windows
Phone has now shipped. Please read on to learn more about what’s
available now, or visit the Live Connect developer center to get
even more details.
The developer center notes that:
The Live SDK is also available for Windows Phone, Android and iOS. The
Live Connect APIs use open standards like OAuth 2.0, JSON, and XMPP,
making them easy and familiar to work with.
You can use the Live SDK to integrate SkyDrive into your Windows Phone applications. Please see our code samples on GitHub.
Windows Phone applications can use the Live SDK for Windows Phone to create, read, write or delete photos and documents in SkyDrive.
AFAIK there is no official API for uploading a file to SkyDrive from Mango/WP7... see for example http://windowsteamblog.com/windows_live/b/windowslive/archive/2011/06/07/don-t-wait-for-your-cloud-use-hotmail-and-skydrive-today-on-your-pc-mac-or-phone.aspx
You could use an unofficial client - see http://skydriveapiclient.codeplex.com/
EDIT:
Since SkyDrive is accessible via WebDAV you can use for the basic tasks like uploading a file any WebDAV-capable client...
A preview on the Live SKD has been announced at Build11.
You can signup and get the API inclusive documentation at:
http://connect.microsoft.com/site1226
The Microsoft SkyDrive "API" is implemented as JavaScript libraries. Not only do they NOT support basic general filesystem management operations, you have to instantiate a browser object and pull its chain, which is extremely kludgy.
I have directly implemented some classes that will allow you to use SkyDrive as a cloud based file system. I have not supported any of the social media aspects.
My classes will allow you to
authenticate
create and delete folders
create, read, write and delete files
Available here: http://cerulean.codeplex.com/documentation
no need for a library
oneDrive install client locally
used System.IO.File.Copy ("path to local file", "path to my local onedrive directory")
Related
I would like to develop a Facebook app. I am only familiar with C# and .NET Core. Will I experience any limitations since the business SDK is not available for .NET? I am not very familiar with Facebook development.
The Business SDK relies on the Graph API, which is also public.
Directly accessing the API is very, very common, the documentation is decent, and going that route is web-based, which works from any client you've got.
https://developers.facebook.com/docs/graph-api/
I have used the Facebook Csharp SDK recently to upload hour long videos. This is a process that runs every hour and uploads a video. During this development, I found there are bugs in the SDK and I fixed it and uploaded a pull request. But I am not sure if anyone maintains that branch. But you can get the uploaded code from my github here
https://github.com/hoquem1/facebook-csharp-sdk
If you want the parent branch, you can see where I forked it from.
You need to get your permission and Tokens properly. Directions are in facebook for developer page. For Facebook Graph Api, I used the v8.0. If you need some documentations here are some useful links below. Follow the breadcrumbs..
https://developers.facebook.com/
https://developers.facebook.com/docs/video-api/getting-started
This should get you started.
I have a C# web application and I want clients to allow files insert/ update/ delete files with automatic authentication using google api client library. My first question is whether it is possible possible or not using "Service account" or any other technique.
I have started things like:
Enabled 2 APIs Drive API and Admin SD
Created a project in the Google Developers Console
Created API keys and OAuth 2.0 client IDs for the project
Installed PM> Install-Package Google.Apis.Drive.v2 for my web app. The dll version is showing v4.0.30319 and
my .net framework is 4.0
If you want to modify a user's Drive, you will need the user to be at least connected and also that he gives to you the permissions to do so.
The best way to learn how to do this is the Google Drive API, they provide a good start-up and a lot of samples for the tasks you ask for : Google Drive REST API, .NET quickstart.
If you still hits problems, there is also others way to learn : a simple google research gives good results.
For exemple, Daimto have a tutorial for exactly what you need :
Authentication
Retrieve files informations
Upload, update, delete files
Finally a project sample
If you still hit a problem, a little research helps a lot, then ask question here.
Is there any way to detect the source from which the app is downloaded? For example if the app has been downloaded directly from the store or it was redirected to store from some mobile site. Something similar to CampaignTracking in Android. Any library which can detect this?
If you are looking for a Rate & Review mechanism, use the MarketlaceReviewTask class. It is documented here. Here's a simple method to do it:
MarketplaceReviewTask mrktreview = new MarketplaceReviewTask();
mrktreview.Show();
You can fire this code from a click event or something similar. This opens the rate and review page for your app, after it is published in the store. That is all Microsoft is providiing currently to help the developers. If you are looking for detailed tracking or instant bug detection (after the app is published), you can use third party services that can do this. I recommend Appboy.
Unfortunately not.
As distinct from Android, Apps can only be deployed through the store (or a developer sideload) on Windows Phone. But there is no way to recognize whether a website hyperlinked to the store page or the user downloaded it directly via the store application.
I found a few links regarding the same. Flurry provides the support for campaign tracking through its library. A few links help here.
Flurry http://www.flurry.com/
Distimo
http://www.distimo.com/conversion-tracking
Tapstream
https://tapstream.com/developer/windows-phone-sdk-documentation/
https://tapstream.com/developer/conversion-api/
Can anyone help or direct me to a guide for using Amazon Web Service in Visual Studio 2010? I tried downloading the .Net SDK from the amazon website but it wouldn't let me add the reference to the .dll because it said that it wasn't build for Windows Phone 7.
Thank you
It seems there's no library for WP7 yet. This is because AWS does not allow cross domain requests (although there are some workarounds like this one), and therefore there's not much from the Silverlight world.
Your options here are:
Create a proxy service that talks with AWS through the .NET api. You will need to publish this service when you go live with your app though.
Build your own library based on REST (AWS will stop supporting SOAP next month). You can find the complete documentation of each web service here. Note that this would take much more time and effort, but you could make it open source so other developers can benefit and contribute to it too.
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.