How to use Facebook's conversion tracking pixel on iOS - iphone

I would like to use the Facebook Ad conversion tracking within an iOS app to track an event after the user installs. Facebook has a method to do this on web pages through a Conversion Tracking Pixel, and I've looked through that JavaScript. It is making a GET request to offsite_event.php with the pixel ID:
https://www.facebook.com/offsite_event.php?id=6005000000&value=0
Obviously the pixel ID alone is not enough to know which Facebook user made the request.
So I assume this PHP is reading one of the facebook.com cookies to determine the user.
Can anyone at Facebook divulge which cookies this PHP code needs.
"c_user" perhaps?

To add to Michael's answer.
You done this using "App Events" instead of conversion pixel, which is for website.
To see additional event other than "App Install count" which is default objective for "App Install Ads".
Go to Ads manager > Report > Press "Edit Column" button > Navigate to Metric > Actions > Find Mobile Application category.
My full answer is also # https://stackoverflow.com/a/26644170/4188314

Facebook just added this functionality in the latest 3.2 iOS SDK update.
https://developers.facebook.com/blog/post/2013/02/25/facebook-sdk-3-2-for-ios/

Related

Facebook-Canvas dosnt work on mobile-version

I make a Facebook-Canvas App like last year. But On this Year is the problem that will not work on Mobile-Devices.
When i Post my App on my Test-Facebook-Page and i want open with my Mobile-Device, it coming a error-message "The requested page could not be found".
My Settings:
Facebook has recently disabled the automatic redirect of canvas links to the mobile site URL for a large number of apps, because some apps were using it to redirect users to malware sites.
Here’s the bug report for this: https://developers.facebook.com/bugs/1051463851558493/
It mentions a form where you can request that the feature be enabled again for your app.

Facebook App Creation related questions

Good afternoon and happy new year!
I have a web site, whose URL is http://www.høly.com
The user will type something in the "type here & share" textbox and, when he clicks the Facebook logo, something will be shared to their Facebook timeline via an app.
1) I'm using Mozilla Firefox on Windows 8.1 and some users reported that Facebook sharing doesn't work on Mac OS X. It works for me though. The app is not sandboxed. I would like to know what is going on and how I can fix this.
2) Whenever someone shares my URL on Facebook (via copy-paste, not the app), I want it to have a specific image and a description. Can you please tell me how to do that?
For question 1: facebook plugins works on all browser, so there must be a javascript error in you code that prevents the execution of facebook script. 2. You can use og meta tags as described here
stackoverflow.com/questions/11616697

Facebook Like Button display's Switch and image

I have a problem with the Facebook Like button to where if a person is an admin of multiple pages / account, instead of the button displaying it shows a small box with a "Switch" link and the person's image. The same as explained here... http://developers.facebook.com/bugs/111826392293111/
I am using the default code provided by Facebook, not any special code. Any ideas or unfixable bug?
if you get the "switch link", than you're currently using facebook as a page and therefore can't access the social plugin. go back to facebook.com, change your identity back to your user profile and reload the page with the social plugin. it's not a bug in your implementation or from facebook at all.
Just use: data-height="60" data-width="60" for example, and limit the expansion of the box.

Set default value for "Who can see posts this app makes for you on your Facebook timeline"

How can I set default value of "Who can see posts this app makes for you on your Facebook timeline" to "Only me" on my app installation dialog? Is there a way to block it so that they users cannot change it to "friends"?
Thanks
If you're using the ios sdk, you can use this to initialize the session:
- (id)initWithAppID:(NSString*)appID
permissions:(NSArray*)permissions
defaultAudience:(FBSessionDefaultAudience)defaultAudience
urlSchemeSuffix:(NSString*)urlSchemeSuffix
tokenCacheStrategy:(FBSessionTokenCachingStrategy*)tokenCachingStrategy;
The defaultAudience sets the audience for the posts. If you look in the SDK code, you can see the FBSessionDefaultAudience values. It's in FBSession.h. I'm using the 3.1 SDK.

how can I get notification on my webpage when I am online in gmail or facebook?

I want to create one feature for my website page. that is when I am logged into my gmail account at that time I want to notify or blinking on my web page.
Is it possible? if yes, then plz answer how? tnx in advance.
If I get you right, you need to add your google or facebood account status in your page.
Google: Add this line to your page
<script src='//talkgadget.google.com/talkgadget/button'></script>
Facebook: Answer from here
Facebook has a Twitter-like feature in which you can update your "status" -- a one-liner formatted as [whatever you type].
It's now possible to export your Facebook status as an RSS feed, which means you can add it to your own choice site.
The hard part is finding your personal status "feed." Go to your Facebook Profile page and look for the "Mini-Feed" box. Click on the "See all" link. On the right rail of the resulting page is a list of links; one of them is "Status stories." That's the one you want. Click it.
Now you have a page labeled "My Mini-Feed" that is limited to your own status updates. Look in the right rail for an RSS icon and a label, "Subscribe to these stories." There's your RSS link.
Grab the URL and add it to the Aggregator on your website. Set the refresh time to the lowest possible value (15 minutes) and make sure cron runs at least that frequently.
Currently, the Aggregator module produces a block for each feed. You can place that block in any region. Voila: Your Facebook status is now reflected on your website.