I'm new to Facebook API. Upon reading the developers page, there are 3 types of apps to choose from. I'm trying to create something very similar to Dailymotion app whereas when the user watched a video on dailymotion, it is automatically posted on their wall.
I know the basics of authentication, what I would want to know is how to start doing this app. I found the dailymotion app and whenever I try to go to it, it just redirects to their homepage (how was it done by the way? clicking the 'go to app' button leads to their site).
here's the app: http://www.facebook.com/apps/application.php?id=96937694899&ref=ts
I just found out how to do it. In facebook app page, you must uncheck everything under: "Select how your app integrates with Facebook" - Thats how I set it and when you click the app, it just redirects to the homepage and not an iframe FB app.
Regarding the "_ watched a video on Dailymotion". Those are actions and objects using open graph as stated by Dhiraj.
Related
I want to post updates automatically to my facebook page from my PHP website.
Facebook seems to force me to create an App where users can login and then post stuff.
But I don´t need all that stuff, I just want to post to the facebook page directly via code.
I went "Ok, I´ll create an App", but now for them to give my app the needed permissions, they want me to give them a login so they can test my app and stuff ... Is there no simple way to just autopost something to my own Facebook page?
I have a script that get the $_SERVER['HTTP_REFERER'] when a user visits my page. This works great if it is used on facebook for desktop. But if a user click the link in the mobile app facebook messenger it can't get any HTTP_REFERER.
Anyone have a solution for getting info about if the user clicked a link in the facebook messenger app?
The problem is that when a user clicks on a link the the facebook app, it isn't being redirected, but opened. Since the app isn't a web browser.
If you wanna track where people open your site from, you could parse in a UTM code (just a _GET parameter, but globally used to track origin, many sites like google also uses these, and some even auto append them.).
For more info, see the following article: http://www.launchdigitalmarketing.com/seo-definitions/what-are-utm-codes/
I am having Google Play link(Android) and iTunes App Link(iTunes). I want to create a Facebook tab for my business page and on click of Facebook tab, my Google Play link can be opened.
I have registered myself on developers.facebook.com/apps and created a new App. Now Under Basic Info I get confused on what to enter the value for App Domains so I have entered play.google.com because my Google Play link starts with this.
Now under Page Tab, I have entered all the required information but entered probably the wrong value for Page Tab Edit URL . So I finally save my application but it is not working.
So now I have deleted my Page Tab section and I then switched over to App on Facebook section where under Canvas URL I have placed my Google Play URL with all the required details and then submitted for review.
Before I submit for the review finally it asked me that there should be no external URL used But I have used my Google Play URL in the Canvas URL section which is external.
I am completely confused now with this Facebook. I have also Googled a lot but with no result for me.
Please Guide me on integrating Android link(play.google.com) as Facebook Business Page tab.
Thanks !
I have solved this issue by using static iframe facebook application
What I did is simply created my desire page in HTML and placed it on my server and by static iframe facebook App, I called this page into IFrame.
Problem solved !
I am connecting to the Facebook API using HybridAuth on the server side (backend is written in PHP). This is for a SaaS publishing application that is hosted on our servers. I understand the mechanics of OAuth and that once I accquire the appropriate permissions from the user, I can write and read from the Open Graph API, which in theory will allow me to do almost anything.
The problem is that I would like to use some of Facebook's social plugins. In particular, I would like to implement the like button so that it automatically appears for each blog post, article and page.
The problem is that the like button and the various Facebook plugins require an app_id. I would prefer not requiring users to add the developer app to their account and creating an app to get an app_id as it can be a confusing process for non-developers.
Is there anyway we can create or retrieve an app_id from open graph (which we can store and use to generate the like buttons and other facebook widgets)?
With the migrations, I understand that each liked URL will not have it's own page. Once the user clicks a like button on your site, he automatically likes your page. However, let's say I have a page called http://www.mystore.com/products/some-awesome-product and there are other similiar pages, all with a like button. Is it possible that when clicking like, the user automatically likes our Facebook page, but when an item is published in their news feed for the like, the URL links to that specific product? Effectively, is there a way for users to like multiple pages from my site?
Update: It looks like we can generate app_ids programmatically with the create application API in the legacy REST API. However, this does not seem to be an option with the graph API.
Seems like we cannot programatically create an app_id for an account. This is not an issue, as we will just create a small guide to guide our users through creating an app and submitting the app_id to us using a form. Not perfect, but should be easy to implement.
As for URLs, liking something will not automatically like your Facebook page. If href is blank, the current page will be liked. If you set your facebook page in the href parameter, then your facebook page will be liked.
Built a custom app that will allow users to add jobs to a system. Once they've done that, it should post to their profile pages as well as their news feed. All of this is working perfect, except for one bit. If somebody else clicks on that link, let's say a friend of the person who has posted the link (from the system when adding a job) they're asked to install the app.
What should happen is a new tab should open with that position showing. If you use facebook like / recommend, this works, but requires the user to do it manually. When using the custom facebook app to do it via /user_id/feed, POST it shows the link and everything working fine, till one of their friends clicks on the link and is then requested to install the app.
How can I make so that the link being posted on the fan page, profile page of the user who has given permission to the app to do so, to just open in a new tab and go directly to the link that was posted instead of routing through the app?
Just to add on to this, the url that get's created via the app looks like this : http://www.facebook.com/connect/uiserver.php?app_id=142332219213134&method=permissions.request&redirect_uri=[the actual url being passed]&response_type=code&display=async&auth_referral=1
This makes that you HAVE to install the app to view the links... which should not happen, you should just be taken straight to the link that was shared via the app.
It looks like you probably have Authenticated Referrals enabled. I haven't worked with this feature but it sounds like it's related to your problem based on that URL.
https://developers.facebook.com/docs/opengraph/authentication/#referrals