How to set up a facebook app for an existing fan page to track ad clicks/installs? - facebook

I’m trying to set up and link the facebook sdk in some existing mobile apps to an existing fan page. I’m an admin for the fan page, so I have access to https://www.facebook.com/analytics/page_a_id/ for that page. I want to be able to track ad clicks —> app installs. I got a new app working with the sdk setting it up through https://developers.facebook.com/apps/app_b_id/dashboard/. But I want it to be linked to the first page, not a new app. How can I create an app and link it to that already existing fan page? I have followed the instructions from this answer (https://stackoverflow.com/a/13904144/419194), and I was able to successfully see the page I want to connect on https://developers.facebook.com/apps/app_b_id/settings/advanced/ . However, events from the facebook sdk on Android still are reported in the analytics page for page_a_id. Why is this? Is there anything else I have to do? Or am I just misunderstanding how this all works entirely?
And just to keep me sane, this is the correct process, right? I only want to be able to feed the sdk into the analytics. I feel like many other people must have done this, but there seems to be a lot of confusion from various SO/FB help posts.

Related

Facebook app id for website social plugins

I have like/share buttons on my website and am not currently using an appid. Finding information on whether this is a necessity for the above configuration is difficult to confirm. When going through the Facebook app "create" forms, I'm really confused by a lot of the requirements as it seems to be more focused around actual apps rather than websites, which login via fb etc.
In the past I have created an app for one of my other websites and I don't believe there was any verification/submission process at this point (about 2-3 years ago). Reviewing my old app configuration now I can see that it is not "live" - does anyone know whether Facebook implemented this submission process in the last couple of years, and then de-activated any live apps that were created prior to this?
I now want to setup a new app for my new website and I'm unsure what the different 'action types' mean and what I would need to simply use like/share buttons on the website. Could someone give me a quick run down of what I'd need and what they are?
Any other info/tips people can provide would be greatly appreciated. I'm finding that the like/share DO still work without the app, but sometimes the share button doesn't work properly (I have a feeling this is something to do with the app).
Thanks
If you are just using the Social Plugins, you don't need to have a Facebook App ID.
If you want more integration, it will be required. Creating an App ID is like registering your App, wether an iOS or Android App or just a website, so that you can make Graph API calls for it.
The easiest way to register your website is to go the quickstart: https://developers.facebook.com/quickstarts/?platform=web (or https://developers.facebook.com/apps). There you can type a name and follow the steps.
You can then follow the "Sharing best practices" (https://developers.facebook.com/docs/sharing/best-practices#tags) on how to use the App ID. For example, by including an fb:app_id meta tag on your pages.
There is a review process, since last April, but that is only needed if you use permissions for your App. If you just use the plugins, that is not needed.
Can you explain more what is exactly not working?
Update
The time you create a page the Facebook crawler does not know yet what the Opengraph data for that one is. This will happen after the first share, but if you want to ensure it is correct from the first share on, you can force a re-scrape.
This section explains how that works:
https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
When an app triggers a scrape using an API endpoint This Graph API
endpoint is simply a call to:
POST /?id={object-instance-id or object-url}&scrape=true

creating a facebook app showing events in joomla

i'm searching the internet for a good howto concerning facebook developing, but can't find it. I created a facebook developer account, i also created an app (which is in developing mode).
But now i'm stuck...
I want to show the events of (my) facebook (fan) page in my Joomla website. I can find (joomla) modules for the website part, but they all say that i need a facebook app. Unfortunately nobody is explaining how you do this...
My question: what do i need to do in the facebook developer portal to create this functionality?
(if there is a representative example somewhere please refer me to it).
Thanks for the time and effort!
Kind regard,
Mijno
When you integrate your blog or cms with an app that you admin, you don't need special permissions.
So just create a facebook developer account.
Go to Apps & create an new app.
Fill in the fields. This will create a standard app and provides you with an App ID and the App Secret. This should be enough.

Deep linking not working from the Facebook timeline

I am trying to enable deep linking from custom open graph stories. I have gone through the instructions listed
https://developers.facebook.com/docs/ios/app-links
Deep linking works fine when I click from the Facebook timeline to the actual story post page and then click the object button. If I click the object button on the timeline itself, the url is NOT handled and instead is open directly in the Facebook webview.
This may be because I don't have a web platform added on my App Dashboard.
Facebook documentation reads
Deep linking in Open Graph stories If you're deep linking from an Open
Graph story published from your app, you will need to go through one
more step.
...
If you HAVEN'T already added a website for this app, in the App
Dashboard, inside your app's settings, click on ''Add platform'', and
select ''Website''. Then in any of the fields (either ''Site URL'' or
''Mobile site URL''), fill in your subdomain. It doesn't matter if you
don't have a website that you're integrating with Facebook, this will
register this subdomain for use with your native app.
However, when I try to add a the url in app settings (the screenshots match those in the documentation), my open graph submission is rejected by Facebook with the note:
Your app does not qualify for the submitted platform. In the app
settings tab, please remove platforms without Facebook integration.
Canvas or page tab apps cannot redirect users, and websites must
properly integrate Facebook login.
Anybody been through this before and can lend some guidance? I am very much confused by the documentation.
The deep-linking started working on its own about a week later without any changes on my part.

Confused about App Dev process- Only trying to link to a website

I am trying to get Facebook features (like button, and login capabilities) on my website but I am having a tough time figuring out how to do it. I have a Facebook page for my website too, I do not have an app, but from what I've seen I'm supposed to create this App profile through Facebook in order to access all of these features. I am simply confused. I have a website, I have a Facebook page for that website, now I want to link the two. Again, I do not have an app for the site, yet, as it is in its early development stages. Please help me figure out what I must do to link my website to Facebook capabilities
Just "create an application" for the website. I think what you are most confused about is actually building an app.
"Create an application" provides a reference for your application to reside. All Facebook plugins currently must be processed through the JS SDK which needs an application (reference) to make requests. You will see the benefits of doing this when using facebook.com/insights
Also your Facebook fan page has nothing to do with your website, think of it separately, it will cause less confusion. There is no way to link them.
Summary: Just click the "Create app" button, set the domain to your website domain and supply the application id to the JS SDK.
Have you checked out their site? https://developers.facebook.com/
All you need to do after registering with Facebook as a developer, you should have a control panel. After that you should have a dev key, so when you make an API call to Facebook that you can authentic yourself as a registered developer. You do need to enter the javascript file in the head section so that when you call the Facebook API your Javascript code knows to reference the calls.

How to link to a Facebook page which isn't about the app?

I installed the Facebook plugin on my WordPress site and, since it requires a Facebook app to work, I created one. The purpose of this app is only to integrate the WordPress site with Facebook. Now, I have a Facebook Fan page for the site, but I can't find a way to relate it to the app, unless I change it to an app page (which it isn't, I only created the app for the plugin to work). It is as if the Fan Page was completely unrelated from the site, because the app makes no relation between them.
You don't have anything to do with the app page.
What you need is to get the app id and its secret key in order to fill the corresponding forms under the plugin configuration.
Please follow the installation guide.