How to integrate Facebook in iPhone - iphone

I have integrated fbgraph api in the application and can post and update the status on facebook, however didn't know how to update status in certain time interval when the app is in background, In my application user will have options like 3 hrs,5 hrs, 6 hrs to update the status automatically, user can select the any time and when app is in background it updates automatically, i am not getting access token in background, please help

Here the solution!
https://github.com/facebook/facebook-ios-sdk

Related

Facebook Event Manager iOS App - Can't setup event configuration despite events are processed & notification success

Facebook Event Manager has processed events for an iOS app as shown in the snapshot below. I click on Setup for "Set up Apple's SKAdNetwork API for your apps" but it tells me Facebook isn't receiving app events and brings me back to Facebook Event Manager Overview.
Facebook isn't receiving app events:
I also followed the documentation and in Event Manager->Settings->Configure App Events for SKAdNetwork->Start Setting up Events:
Both Configure App events for SKAdNetwork and for iOS14.5 show no events have been setup.
If I try to set these up it says Facebook isn't receiving any events (according to the documentation and because I successfully tested the app setup with a notification setup events should not show).
The documentation says that "After you've successfully connected to your mobile app, you can set up your app event configuration." but the system tells me no events have been received.
Notification received and clicked (requested it a few times until I realized it was supposed to reach my facebook ios app :)
What am I missing or step to complete the setup of SKAdNetwork API? The problem is that without finalizing this setup I can't run App Install Ads:
Thanks
In case anyone runs into this issue, what I did to get it to work is click on each of the notifications I had received in the facebook iOS app in case these were all required and 6 hours later I was able to configure the events!
Bottom line and my best guess from this experience is that it probably takes 48 hours from the moment it's setup until the time the configuration shows what it's supposed to show.

Facebook app in development test users pending status super delayed notifications for invite

I believe my question is extremely simple and very basic but I am totally confused I am working on an app that uses Facebook login and the app is currently in development mode with Facebook and I am trying to add some early test users some of these test users have been waiting one full day to receive some sort of notification from Facebook to enable them to join the testing phase of mine in development application
How long does it usually take to have a new test user added to a Facebook app in development mode? Should it be taking hours and hours and days or should it be instantaneous?

app requests being treated as reminder

I am developing mobile app where user can invite friends through FB app (There is FB Application as well) requests.
When this implemented it worked great. Notification came under globe icon in friends FB. There is no implementation what happens when user click on that notification at that time.
After couple of days testing suddenly it stopped showing under globe but app requests being treated as reminders. Also request can be seen in appcenter/requests as well. But not under globe.
Now we added backend which installs FB app but still there is no showup of requests under globe
After lot of research in FB documentation, I found that app requests needs to be deleted by programmer. How this can be achieved?. I haven't stored those ids anywhere after sending app request.
Please help me out.
Thank you.
I have got this solution after going though lot of FB documentation.
For every app request, Facebook creates unique id in database.
These app requests can be seen at Globe icon, app center, reminders as well.
If received user clicks on pp request, its developer responsibility to remove that unique id from facebook and install app.
As we haven't removed unique ids then FB treating future our app requests as reminders not in notification.
Having removed all those ids now, it started to show up again in notification.

How To Check iPhone App User Rated Or Reviewed The App Or Not

My iPhone App is now on App store from last week with 300+ downloads but only 3 user rate and review the app and now i am planning for Update So is there any way to check the user who is using the app is rate/review on App store or not ?
So if user is not yet review i can give an alert for review/rate.
and if yes than not issue.
I recommend you look into Appirater, it's a free GIT project that displays a UIAlertView automatically every 10 launches or every 8 days (numbers you are able to change) prompting the user to rate your app. It includes "review/rate, not now, and don't ask me again" buttons and it works very well, here's the link: github.com/arashpayan/appirater
There is currently no way to find out if a specific user in your app gives your app a rating/review. Even after prompting a user to do so and they hit rate, there is no way to confirm that they have indeed left feedback of any kind.
I realize you want this information so that you can avoid prompting users that have already left a rating for your app, but in all honesty I would recommend you prompt them again. Considering it is an update, it is a different version of your application and the ratings for the latest version is segregated from the previous ones. Additionally, these users may have something new to say, so I think you are better off just prompting all users of any given version of your app at least once.

Tracking Facebook Apprequests on iphone

I have Facebook connect set up for my iphone app and am able to successfully send apprequests. What I want to do is track whenever an apprequest recipient clicks the notification to either install my app or open my app.
When the recipient already has the app installed, I can track that they opened the app from Facebook by looking at the URL in the 'application openURL' method in AppDelegate. But if the recipient does not have my app installed, clicking the notification brings them to the app store to install my app. Is there anyway for me to track that this install came from a FB apprequest? Or assuming they do NOT install my app, is there a way for me to track that?
Thank you very much for any help.
As of 5/22/2012, there is no way to accurately track installs coming from Facebook, because iTunes will truncate the URL. This was confirmed for me by a FB employee.
A rough workaround is to save all the fbuids that are sent requests for the past X hours or so. If anyone using your app FB connects within that time frame with a matching fbuid, you just assume the install came from the original FB request.