Tracking Facebook Apprequests on iphone - 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.

Related

How can I determine if an app was installed from a Facebook Ad?

We have a multiplatform service and we give our users a 30 day trial. A user can sign up on iOS, use the web version and finally do the payment on Android... even if it's weird, its a possible. The database is shared between all platforms
We are using Facebook Ads to generate App installs but we don't know how to do the conversions' attribution properly. The main problem is that if, for example, a user install the app from a Facebook app but he end up paying from the web version we lost track that the origin of this user was the ad.
I would like to know if it's possible to determine using the Facebook SDK, on the first run of the app, if the user comes from a Facebook Ad and in that case I would store that information in our database to do the attribution once the purshase is done. Any ideas?
Many thanks in advance!
Regards!

itunes Connect test flight beta - no app for download

I have an app in iTunes connect that I'm beta testing with external users. Some invited testers are not seeing any app available for download in iTunes connect. What could be causing this? Thanks.
I have seen this where iTunesConnect shows the user has not accepted the invite to join (I don't know whether the user did not, or that ITC has the user in the wrong state). It seems that they still get the messages about new builds, but can't install them. I found that I could not re-invite them, even removing and adding their email did not help. The only way I found to fix it was to add a new alternative email address for those users.
Update
I have now seen myself why gmail addresses are a particular problem. Opening an invite email in the gmail app and clicking the link does not work. Even if TestFlight is installed it only shows the app briefly and then redirects to the app store. If you open the email in the Mail app instead then when you click the invite link it opens in TestFlight and asks you to install the app as expected.

How to notify app that user has changed in facebook app/ Safari IOS

Using Facebook SDK 3.5.1 in my app, my requirement is that i have logged in the app via facebook with one user (say user A) and now if i login with other user (say user B) in mobile safari/facebook app (which one is available), in this case can my app get notified that another user logged in other than one who was logged in app.
Any references or ideas?
Thanks in advance
Note : I know that this Question was asked before but no answer is there :(
I don't think there is an option for this in the Facebook API. At least I couldn't find it.
Facebook SDK for iOS
What you can do, however, is simply check every minute or so who is available.
You can save this data in an array and then compare it a minute later with the new data.
Here is how you can fetch a list of your connected friends:
iOS Facebook SDK - get list of Friends connected with App

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.

Face book latest IOS SDK problems in iPhone?

I am working in face book functionality in my apps. I have integrated the latest Face book-IOS-SDK. When runs the application, the application is started and runs in the safari browser. Now I want to load the application in the user view(FB web view) instead of Safari. How can I achieve this?
Facebook doesn't want you to. Facebook's new SDK wants the user to login into Facebook once, and than that Facebook login be used in every app on the device that uses Facebook. Because of the way the iPhone works, the way they had to do that was through safari so that each app could get that info. You can go back to the original way (which so far I personally prefer), but I'm not entirely sure how.
However, if you use the new way, it will automatically redirect the user back to your app once they finish authenticating it. Also in the Safari page they can give your app permissions, ie. post status updates.