I'm currently developing an app for windows phone 8.0 that needs to fetch Facebook data(username) and display and then save it in a Parse Cloud server. I'm using Parse-Single sign on mechanism.The app authenticates through Facebook, connects successfully to Parse-server but I cannot fetch data I have tried graph API, but it doesn't seem to work...
Any help appreciated :)
Related
Before this, i had tried to get firebase data, and that's work when i initialized firebase app using angular typescript.
But for now, i need to get firebase data automatically by schedule, and i tried to create window service using c#, Also working when i follow this tutorial that i found https://www.c-sharpcorner.com/article/create-windows-services-in-c-sharp/
The problem is, I not found any tutorial how to initialize firebase app using c#, all tutorial is using service account to get firebase data.
But how can i initialize firebase app without service account using c#? because i only get this firebase config as below from firebase owner.
const firebaseConfig = {
apiKey: "apkey",
authDomain: authdomain",
databaseURL: "databaseurl",
projectId: "projectid",
storageBucket: "storragebucket",
messagingSenderId: "messagesenderid",
appId: "appid",
measurementId: "measurementid"
};
i had try to find the solution, but not found anything,
or is there a way to create a window service from angular typescript?
I would be glad for any help.
If you are writing backend or desktop code to access Firebase products, you will not be able to use the configuration objects provided for web or mobile applications. You must use a service account to initialize any SDK you're using. The web and mobile SDKs are built for use by end users that require authetnication, but backend code is not driven by end users. The service account effectively authenticates and authorizes backend code to access Firebase products.
I want to develop a chat module in my existing app built using android native java. Currently my user account and all data saved in sql server with backend built on C# MVC framework. Now I am confused what structure I need to follow to built chat module, I have watched many firebase tutorials but they all used firebase realtime database and save user in firebase database but I already have my data in sql server. Anyone please guide me how start with it or do you guys give any suggestion to me.
I have an Android mobile application that used to upload image and text to Firebase Database. Now, I have another web application that using C#, this is used to retrieve the data (which uploaded by the mobile app) from the Firebase. I found some examples regarding on how to retrieve data using C#, but it needs to "Add Firebase to your Web App" . Is it possible that not adding web app? Thank you.
I mean, is it possible that my mobile and web applications use the same Firebase Database/Storage, and both applications can add, edit, delete the data in the same Firebase Database/Storage?
Yes, it is possible to have an ios and web application using the same realtime database and same storage.
From the firebase docs:
The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps with our iOS, Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data.
To add web or ios to the project, you need to go to the firebase console and then click on add another app and choose if ios/android/web and just follow the steps.
We are developing an app that intended to access website data of other websites owners who are registered on our app.
What we want that user will login into their gmail account and provide our app access to their google analytics account for their website.
We need complete implementation using c# of google analytics API where we can ask user to give our app access. Any help will be highly appreciated.
You need to use Google Analytics Reporting API. There is quick start guide is available for the Java, Python and PHP. I have created custom reports in PHP.
Use this link: https://developers.google.com/analytics/devguides/reporting/core/v4/
Here you can use REST APIs in your C# application:
https://developers.google.com/analytics/devguides/reporting/core/v4/basics
As I'm not that skilled in Windows Phone 8 development I would like to discuss/ask what is the best way to connect my Windows Phone 8 to a SQL Server database, I don't want to use Azure as I have already have the database present on server using for website. Please can anyone give me complete tutorial for the same or help in achieving it? And after connection, I want to fire select queries only from wp8 app using text box inputs from user
Check here Windows Phone 8 access to SQL remote Database
Microsoft does not allow direct connection to remote databases, so you need to have a service ont the server connected to the database, that serves the content with http requests (using xml or json to represent the data)
The best way to do this is using Web Services. In web services you can use ASP.NET Web API. Its a framework that makes it easy to build HTTP services that you can use on your windows phone, JSON or XML, you decide. In your windows phone you can use a GET, PUT, POST, and DELETE request and get the WebAPI response appropriately.
You can implement one by using these tutorials:
Tutorial
Another Tutorial.
I prefer using LINQ to query data in Web API using linq
Linq Samples
For sorting purposes you can use odata:
Odata for ASP .NET Web API
To consume the Web API :
Web API with windows phone
you can also make a simple web page that takes data from your phone as query string and return data as response, this web page should work as a bridge between you and your database. and you won't have to open the page from your phone, you will just send an HTTP request and get the response , this might help you : https://msdn.microsoft.com/en-us/library/hh221581.aspx