share file among different ipod/iphone/ipad - iphone

I have an app in which some data file will be created.
The app has iphone/ipad version both.
some customers hope I can add the sharing function for them to exchange/share file.
I think maybe I can use FACEBOOK api to ask the users logged on their facebook account and exchange their current ip address, then do p2p file transfer.
I am not sure if it is the best way for this requirement and
if sure, is there any p2p sdk for objective-c to do this?
Welcome any comment
Thanks

The best option to share those files and keep them synced is the DropBox API

Related

Home server, NAS, Privacy and Web hosting

new here and to everything related to home servers but I have a question that I hope I can get some help with.
Here’s what I would like to do, apologies in advance for my very beginner understanding:
I would like to set up personal storage at home connected to the internet (I believe like NAS). This would have all my media, photos, music, documents etc.
I would like to access this from anywhere with an internet connection, and be able to upload my photos and anything else on my phone and laptop.
I would like it to obviously have security and encryption so that my information is secure and not publicly available.
I would also like to host my own site and domain on at home on this unit. (I can get a static IP and domain if needed)
I would like to set up my email through this site at home as well
I basically want to have ownership over my data and info. I don’t want to use google for my email. Don’t want Instagram for my photos and don’t want to use the cloud whether it’s Dropbox or iCloud or google photos. I want everything to be on my unit at home connected securely to the internet.
Currently I don’t care about gaming or using this to steam media on my local network or over the internet, even though eventually it would be nice.
Can someone please help me and tell me what on earth am I taking about and what am I trying to do here. What is this called and where should I start.
Thank you
I would suggest a Synology.
The system has an app that will backup your photos on your phone, a backup app for your computer and similar tools to google.
You can create docs and sheets. It is all hosted locally on your system and can be configured for anywhere access.

Cross platform synchronisation using Facebook in Unity

So I am developing this RPG mobile game in Unity with a lot of coins and firearms and purchases and the like. I want to allow the user to carry their achievements to another device (synch), should they decide to change their device or whatever, so they won't have to start everything from the very beginning. I know this is possible using Facebook SDK, but don't know how. Could anyone please help me?
You probably have a database? Username can be the e-mail - that way he can login on any device with the same username and gets all the data related to his game account.
Same is with Facebook as you suggested, he logs-in with his account (e-mail) and gets the accounts data.
If you don't have a database and store everything locally, you could store it to a file and then transfer the file to another system - that would be the simplest manual approach (but not recommended).

How can I collect a list of all my iOS applications programmatically over the Internet?

I would like to collect all the iOS apps I have on my iTunes account programmatically via a web script, applet or anything possible over the web. Idea is to have a web page where I can enter my iTunes credentials and then display all these apps.
It looks like no open API is offered by Apple to do this so what's the best way to do it ?
The only way I can think of is an applet reading the XML files in the iTunes directory on my computer, but it's a poor solution regarding me for a few reasons.
EDIT : solution must be valide for any user (not only an iOS developer)
You can use the iTunes Store Search API to search for apps by your developer name, then filter the results by your developer ID in case anyone has a similar name.
It may interest you: http://www.apple.com/itunesaffiliates/API/AffiliatesSearch2.1.pdf
It's a document about iTunes Store Search API. It could be a starting-point.

Is it possible to create a desktop app using facebook oauth 2.0 authentication without requiring a browser interaction?

Is it possible to have a client app which can authenticate using Facebook but without requiring browser(I mean no embedded browser in the code)?? User inputs the username/password and allow access to app using the client app only.
Any Suggestions will be of great help.
Thanks,
Tara Singh
Edit: I have created app in Python which requires browser interaction. Now I want to get rid of that and do it using my client app only. Any Links/Tutorials??
Thanks Again
I know this is an old question and it's answered but I thought 'horse mouth GET'. From Facebook: https://developers.facebook.com/docs/authentication/...
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...[cont]
Actually the answer is absolutely not.
In order to authorize your app a user has to enter their facebook username and facebook password on facebook site and you need web browser for this. There is no way to skip this step (you can't ask what their username and password are and then exchange it automatically for access token). You can read more about this here.
absolutely yes, but, we'll need to know which programming language you want to use before we can give much advice.
For example, it's possible using httpclient for java and python to encapsulate all the functionality you need, others can chime in with libraries that they use for C, C++, perl, etc.
[edit]
search for httpclient and how it's used with python. if you run wireshark on your system, you will be able to watch the data interchange (if you don't understand the http protocol completely) and then implement that in your code.[/edit]
Some good links in this regard:
http://developers.facebook.com/blog/post/289/
https://developers.google.com/identity-toolkit/
https://developers.google.com/accounts/docs/OpenID
http://facebooktoolkit.codeplex.com/
http://csharpsdk.org/
http://blogs.msdn.com/b/appfabric/
Apparently now you can, if you're a beta tester for their newest feature: https://developers.facebook.com/docs/authentication/devices/ Reminds me of PIN's on Wifi
Yes and no,
I've had the same problem with my server. It was console only, so I had to make a solution. First I've logged in using the lobo java webbrowser. I've transfered the cookies of lobo to my server.

Facebook directory application advice

I'm a complete newbie about Facebook applications, and need some advice on whether the following application is feasible:
The application would essentially enable users to choose a photo from their album, which would be displayed in the application's "directory" alongside their name and age. If possible, their photo would link to their Facebook profile. Application users can browse the listed users. It would be aimed at performers; hence the directory.
Would this be possible; if so, what would be the best way to approach it?
Furthermore, does the app violate any Facebook terms of service regarding data if the user has given permissions? And how does storing user emails work if they have given email access?
I know there are several questions, so any help would be appreciated! I will not be making the application myself, but would like to know how it could be done so I have a clear understanding when talking to programmers.
Yes, it is definitely possible to implement your application. Your questions are very vague - If you could be more specific, I'd try to answer them for you. When the user initially logs into your application, it will have to pass to Facebook the list of permissions your application requires. Once the user okays it, your application will have access to all the data it has requested.