need to create a Facebook tab for the mobile app - php

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 !

Related

$_SERVER['HTTP_REFERER'] won't get HTTP_REFERER from facebook messenger app

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/

facebook api - retrieve all tagged friends photos

I'm never used facebook api yet I saw on a blog a piece of code I could use for. It retrieves all tagged photos of our friends and downloads them.
http://www.shelldaemon.com/2014/01/bypass-facebook-photo-verification.html
Yet it is not working since I login, accept the app permissions and it takes me to the login page again. Is there any problem in the code I can fix? I know about php, yet I don't know anything about facebook api.
It would be awesome if someone can see what's the problem.
Thanks in advance.
Which login pages does it take you back to? The Facebook login page or your custom login page? In fact the custom login page would be great since the flow of the app is:
Custom login page on local webserver => Facebook-App login page => Download your friend's tagged photos => Custom login page again.
Maybe the code is working but the part where the app is supposed to download is skipped because of missing file permissions (write-permissions to your destination folder) e.g.?
Did you try to inspect what is going on in your browser after you logged in and before you are redirected to the login page again? With Firefox and Chrome you can inspect the website / web application and look at the console there for errors.
You could also try to add some debugging information during download (e.g. add an "echo 'friendname'" into the download-loop.
Hope that helps!

i make twitter app , how i see this app ? , what is URL of my twitter app?

I creat new twitter app and it's show my application page .
my APP name is : testfactw
If i click to this ap i goto this page https://dev.twitter.com/apps/1495385/show
my question is what is URl of my app ?
for example https://twitter.com/XXXXXXX
actually i ahve no idea i search on google but i not found real answer.
Thanks
Your app doesn't have a public URL. If you want a twitter page for your app you should sign up as a user and set the username to your app name. Then login to that account and create the app.
Ive never created a Twitter app so I can't say I've got experience in doing this however, Im on the 'Create an Application' page of Twitter and it provides a 'Website' input box which says:
"Your application's publicly accessible home page, where users can go to download, make use of, or find out more information about your application. This fully-qualified URL is used in the source attribution for tweets created by your application and will be shown in user-facing authorization screens.
(If you don't have a URL yet, just put a placeholder here but remember to change it later.)".
This should be the URL.
Go to http://apps.twitter.com and sign in if you haven't already. You should see a list of apps (if you have more than one)

Link to Facebook Fanpage Iframe

I have a problem with my fanpage. A gallery script is running a my webspace and i put it in the app also in th iframe of the Fanpage. The gallery script has get an Share button to post the photos on facebook. This part of it is running fine but when i clicked the link that was posted in Facebook i had been reffered to my page on my webspace and not to the iframe with the webpage and the photo. Is it possible to edit the link to go to this page in facebook iframe?
This is not a problem in general. You can try to redirect your website into the Facebook tab application my checking the HTTP_REFERRER and the url. You might have a look at this example
There is an URL you can try to call and see if you get redirected to the right application. Additionally, you can add app_data-parameters to the URL to identify the real target into your app.
All that can be done by the following code:
// set the target facebook page name and id to perform a forceRedirectToTab()
$tmpFbHelper
->setPageName($iniHandler->getIniSetting('facebook.'.fbHelper::getAppNamespace().'.page.name'))
->setPageId($iniHandler->getIniSetting('facebook.'.fbHelper::getAppNamespace().'.page.id'))
->setSecret($iniHandler->getIniSetting('facebook.'.fbHelper::getAppNamespace().'.secret'));
// perform a redirect to the facebook tab application if someone opens the url out of facebook
// the facebook-linter is not affected by this :)
$tmpFbHelper->forceRedirectToTab();
// perform a deeplink if for example a special url is called or you identify some app-data
$tmpFbHelper->performDeeplink();
You will have to look at your published links into the stream so that the PHP-code finds out that you will redirect and deeplink!
I hope this ideas might help you :)

Facebook App redirection

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.

Categories