How to get all facebook app request for a user of my apps without storing them - facebook

We are building a apps and we want to clear all the apps request for our user when he log into our apps.
I know we could store the request when we send them and clear them when the user log to the apps.
But is there anyway to get all the apps request from FB (through fb api or fql) instead of storing them in our apps.

Related

Facebook Data Deletion Request Callback

I have a mobile application, we implemented a Facebook Login as one of the different ways to register and log users in, now Facebook asks for "Data Deletion Request Callback" which will delete Facebook data if the user removed the app from his Facebook account.
the question is what data should I delete (Facebook ID, Image, Email)?
or should I remove his account on my app (that will cause a problem with my data)?
not sure how Facebook reviews, Approve or disapprove goes, can anyone share his experience about this?

Facebook web app: How to store an ID for user recognition

My company is developing a web app, we are looking to integrate this to Facebook, basically our web app provide some reports. Now some of the clients want to show some information in Facebook. Even though, we dont have any experience developing for Facebook we opened a developer account and we selected build a web-app(We are thinking to embed our web-app in Facebook).
So our question is:
how we could store an ID of our client once he install the app in Facebook?
does Facebook store this ID and every time a visitor in our client's Facebook app enters to the app in Facebook, Facebook sends this ID to our website to recognize which client is it?
Thanks for any inside on it.
Your question is very broad. I would advise to start reading the documentation on Facebook Login to get an idea about how it works.
In general, when an user logs in using Facebook, you will receive an App Scoped User ID. That is an ID that is unique and identifies the user for your app (note: for the same user, each app gets a different ASUID). You can use this ID to keep track of all your users.

How to get instagram user ID/access tocken from iphone app

In my iPhone app,there is a switch for sharing the photos to users instagram profile.
How to get the instagram id in my app.
(i am not sharing the posts directly from the app,i woud like to send the particulars to server,from there sharing happens-)
I have registered my app in Instagram and got CLIENT ID,Client secret
You have to use those ID and SECRET to authenticate with Instagram to get the access tokens for your users to make requests to the API, check here to see how you can initiate the authentication flow and then find a solution that fits what you're trying to do.

Website and a facebook mobile app - do they need to be separate?

The existing website uses Facebook OAuth for login. The plan is that soon that certain events on the site will be posted to the user's timeline. The "userA watched xxx" kind of thing.
We're also at the stage of starting an iPhone app to connect to the website's data API. If the user has authenticated to the website with the mobile app using the facebook login:
would the mobile app need access to the Facebook oauth keys? I'm guess not, as the user would do something, and the website would have the credentials stored to post to facebook, but I'm not sure.
would there in fact be 2 apps, one that is facebook based and one that is not?
Apologies if this is really basic information I'm asking, but I've not developed Facebook apps previously and the information I look at isn't always clear.
In my apps, I code two authentication flows, one for facebook users, and one for users without facebook (this is the typical, create your account, and subsequently login with your username and password). So one app, two login flows.
Regarding the app accessing the Facebook oauth keys, if you are coding with the Facebook iOS SDK, you won't even need to worry about the oauth key itself, as it's totally encapsulated by the SDK. You'll simply invoke methods to trigger authentication, and then once the user is authenticated, you can call other methods to invoke certain aspects of SDK/API.
The Facebook iOS SDK supports all the functionality you'll need to make the posts directly from the app itself. You won't need to make an API call to your server, to then make a second call to the Facebook API. Just handle all that from the app directly. So if your app does depend on a successful API call to your server, prior to posting to Facebook, make that API call, wait for the response (that either includes additional data, or a success:true flag), and then make the post to the Facebook via the Facebook iOS SDK.
The Facebook iOS SDK docs are AWESOME these days, and the code samples are even better. Check them out at:
http://developers.facebook.com/ios/

Send invites from the app itself

How can we send Facebook invites to users of our application?
Usually we receive invites only from friends but not directly from the app itself.
I received an invite from The Sims Social a few months ago and I want to develop the same thing, here is a screenshot:
This kind of request is known as an App to User Request. Only apps that are on Facebook.com or mobile apps can use and send these kinds of requests. Sending them is pretty simple, just make an HTTP POST request to /USER_ID/apprequests with your app access token. You will also want to handle deleting them once they are accepted by the user and reading a list of current requests. They're all documented in the User object docs.
You need to obtain application access token then you can send to the users who are the using this app.
FYI: Authenticating as an App