I was volunteered to write a application that will take a mp3 file, upload it to the server create a document that references the file and fills out a template and uploads the document for the web admin to approve it.
I am a fairly competent c# developer but I have never even touched web development stuff. I have no clue where to begin
They are running Joomla 1.5 with DocMan 1.4. I have no php programming experience but I have done java and c# so when I poked around the API documentation some of it seems familiar.
Any point in the right direction for books or online guides would be really appreciated.
Does Joomla have an API or web service you can point to with your app? Maybe you can use the Webclient in .Net and post the file and pertinent information up to the Joomla server.
UPDATE:
I found this XML-RPC lib in .Net. If you have seen this yet, here's a link for Joomla's Metaweblog API.
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'm starting a side project that will integrate heavily with Facebook. I'm going to use React in the front-end and it will talk to a REST ws made with asp.net core web api.
The idea is that in this API I will make the calls to Facebook.
Basically, I want to: login, get/post messages from Messenger, get/post comments and messages from a business page.
I googled a little and didn't find many resources or examples of how to do this integrations other than the Facebook documentation, that has a lot of stuff and I don't know very well where to look.
I also found this SDK for .NET but it looks a bit dated https://github.com/facebook-csharp-sdk/facebook-csharp-sdk and
So, my question is: Is reading the documentations entirely really the best solution?
If anyone could at least give me a hint where to go I'd be really thankful. Would it be better/easier to integrate with Facebook with other stack than c#/asp.net?
Also, if there's any other API, SDK or something already built in .NET that would help with that I'd be grateful.
Thanks in advance.
I am one of .net developers working with Facebook API more then 5 years and we have tried to use "Facebook SDK for C#". It has more issues then benefits. In result we end up with our own small Facebook API client. Basically it is just a "RestSharp" HTTP library, "Newtonsoft.Json" for serialization/deserialization and couple of generic functions where you supply Facebook API endpoint, and specify what class you expect back as generic parameter.
var accounts = client.Get<Accounts>("me/accounts");
var createResponse = client.Post<CreateResponse>("123456779/feed", postToCreate);
Facebook SDK for C# works great for standard .NET
https://hackerapp.com/net/
https://github.com/facebook-csharp-sdk/facebook-csharp-sdk
As for .NET Core I think you are out of luck at the moment. Unless you want to port it to .NET Core yourself.
Automated Customer Service bots are not uncommon in FB, but code is hard to find. I assume you had setup you App's domain and got it reviewed and approved by FB.
I tried to set a chat-bot with both, python and .NET, and I must say the python Api is much more complete, quick, and less buggy than the C# one. But, as far as I know, only the PyApi has integrated reactions (haven't tried them).
Therefore, you will need to do this manually by using the Facebook Api by sending direct GET/POST request triggered by your ASP.NET, or use some kind of inter-language platform such as IronPython to workaround the problem (which basically assembly the call, add the Key and secret, and CURL-it).
As final remark (not a very motivating one), there is documentation for post reactions, but not for message as you can see here (posts), and here (messenger).
You can perform a lot of the facebook operations on the client side using their javascript SDK.
https://developers.facebook.com/docs/javascript
In regards to getting up to speed on server side API calls from .NET you can check out the facebook graph api explorer. It can be helpful for discovery.
https://developers.facebook.com/tools/explorer/
In case someone is looking for this topic, I had the same needs myself. After not finding a Facebook SDK to use with .NET Core, I've created a new open source .NET Standard unofficial SDK for Facebook: https://github.com/developer82/FacebookCore
I am writing a ToDo list Winform application and I would like to use the the One Note API in order to save the information about the tasks in the user Microsoft account.
So I browsed the One Note API documentation but after a few hours of research I did not manage to find a good entry point.
I understand that the first step for me would be to sign the user which is described on this page:
https://msdn.microsoft.com/en-us/library/hh826543.aspx
The thing is that the different ways of achieving that step don't seem suitable for a Winform client application, maybe I should use the rest API ?
I have been looking for a .NET code example but have yet to find any so I'm quite confused right now...
Thanks for any help !
You can use the OneNote API - signing in can be achieved by using a webcontrol and having the user follow the sign in flow there. Unfortunately we don't have any sample code for winforms, but the auth flow in our NodeJs sample for the OneNote API should be similar.
https://github.com/OneNoteDev/OneNoteAPISampleNodejs
You could also (assumming the user has OneNote installed) use the OneNote interop libraries to interact with OneNote and store/retrieve your data there.
How To Write To A OneNote 2013 Page Using C# and The OneNote Interop
You might also want to try developing a universal app instead of a windows forms application:
https://github.com/OneNoteDev/OneNoteAPISampleWinUniversal
I am an ASP.NET Developer. I want to develop a web app which will convert all the files with particular extensions from one format to another(eg : .txt to .docx or .docx to .txt) on the client machine. I can't see anything in ASP.NET that can do these things on the client machine. I was going through other SOPs and googling which was suggesting to use Silverlight, WPF, ActiveX scripts etc.
Please provide your suggestions. Thanks,
I am writing a simple web application that needs to retrieve a list of customers from QuickBooks and display it in a DataGrid. I have the web connector installed and setup on the server hosting the QB data file using the web service example included in the SDK.
I can add the service to my project and interact with it, but when I try to find information about how to query QB using the web service all I can find are links to vague and mostly useless documentation. What I’m hoping someone here can do is provide a real example (code included) of how you submit a query to QB and display the results.
My environment:
QuickBooks 2009 Pro
IIS 7
C#.Net 3.5
Normally I have good success doing things like this, but for some reason this one has me stumped. Many have suggested that I should run far and fast from anything that involves integrating QuickBooks with anything. Come cant, it can’t be that hard.
As always, thanks in advance for any help you may offer.
Have you read the official developer's guide?
http://developer.intuit.com/uploadedFiles/QuickBooks_SDK/QBSDK/QBWC_proguide(1).pdf
What looks easiest in this scenario, if you have experience working with other odbc data sources in C#, would be to use an ODBC implementation of the QB data. I'm not sure if there are others, but there is a commercial one (with a free trial) available here: http://qodbc.com/