WURFL redirects facebook robot - facebook

I have WURFL on my page for redirecting mobile devices to mobile version of site. PCs are redirected to wordpress.
Unfortunately when i try to post link from my wordpress page on facebook it's generating image for link from mobile version, also link stands to be mobile version, rather than concrete post on worpress.
After clicking submit on facebook it redirects correctly to full version of page, but still the icon should be generated from full version page (same as link title).
How avoid redirecting to mobile version, when facebook services are sending request?

You may want to try using different detection software. I'm working on an Open Source C implementation of 51degrees.mobi's device detection solution at the moment. They've got links to open source PHP, ASP and Java solutions on there as well. It's pretty easy to set up and get working on your site.

Related

Is there a way to open a dynamic link in a browser?

I have an ionic app where i can send invitations (share app link), I used firebase dynamic links. When I share it, the person who receive the message can open the link in a device (tested for android) and he is redirected to the play store ( app not found because i am still testing it), but if the link is opened on a pc, then browser opens with page not found.
I am new to all the stuff.
As the first point, the link that should be shared is your website domain name example.com/anypagename that couldn't be direct accessed.
Whwn user click this link from any place it will redirect him to this website page, And in this page for website you will add a function to detect device, and if device is android, it send a response of google play link and same for ios and if desktop will redirect to main website page.
http://mobiledetect.net
Use this library to achieve what i said above...
I had a lot of success for scenario similar to you by using Branch.io service. It is mostly free with advanced features being priced.
Do have a look at their offering. If not i can help out too.

mobile website in frame messed up

Usually, when you browse mobile website on iPhone it displays correctly.
But when I put the same website in iframe and try to access it through another website,
the mobile website is stretched and zoomed out, as if it is displayed on the desktop browser.
How to fix it?
Usually a website that offers a mobile version asks which kind of client is calling the URL. Your iPhone's browser provides that information. When accessing the site through an iFrame, the client information can't be passed to the target website but only to the surrounding HTML that defines the iFrame.
iFrames generally are not recommended to use on iPhones.
See there:
iFrames and iPhones

Facebook SDK : Page Tab App returns not found in mobile Facebook App

I got a Facebook Page Tab App (using Timeline). It works fine in desktop version of Facebook, but when its Wall Post is clicked in Facebook App, it returns "The page you requested was not found" and forwards to an inaccessible link:
https://m.facebook.com/4oh4.php?id=282832318433409&_rdr
How come? I don't expect mobile version will be the same as desktop version, but I don't expect it reports the page cannot be found.
Page tabs apps are not supported (as of April 2012 anyway) on mobile browsers - mobile apps are, but they're not tied to the Page and need to be manually linked-to or bookmarked, the tab functionality simply doesn't exist now.
Tabs aren't supported via the app or mobile site. Best you could do is add the query parameter "ref=ts" to prevent the page from switching to mobile. It helps in the browser but not the app itself.
So add ?ref=ts to the end of your app url and at least mobile users can see it in their browser.
http://facebook.stackoverflow.com/a/10833366/461119
You can work around this problem by using a Canvas Page to redirect mobile users to a mobile site and desktop users to the page tab.
Detailed instructions here:
https://stackoverflow.com/a/15860533/121285
You can access to your app using the next link https://apps.facebook.com/YOUR-APP-ID
In this way, you can access from a desktop or a mobile with no problem

"Either this application has not configured its Mobile Web URL or the URL could not be verified as owned by the application" error

We have a post on a FB wall. It points to http://tinyurl.com/{something}.
When the link is clicked in a non-mobile web browser, it works fine: TinyURL redirects the user to our web site using the appropriate URI including a special querystring.
When the link is clicked in a mobile web browser on my Android, it fails with the error in the title of this question.
When the link is clicked in the FB native app for iPad and in Safari on the iPad, it works fine.
I have tried adding our URL to the Mobile Web setting in the Basic Settings tab of the FB App configuration. That results in all links pointing directly to the root of our web site with a funky set of parameters in a querystring -- in other words, it doesn't follow the TinyURL in that particular case. The funky parameters include "refid", "ref", and "ft".
So primarily my question is: Why, when I specify the URL in the Mobile Web setting as described in the previous paragraph, does it redirect to our main URL instead of the TinyURL link originally called for?
I think this is something Facebook broke very recently (perhaps even today?). When a user clicks on any links to our app from inside the Facebook native iOS app, they get this error "Either this application has not configured its Mobile Web URL or the URL could not be verified as owned by the application. Unable to redirect." We had never set a Mobile Web URL previously, and everything had been fine since we launched the app over a year ago. We sent all mobile clicks to the same URL's as desktop browsers and handled the mobile rendering server-side. We have not changed our application domain inside the App Settings or anything like that.
In the App Settings, can set a Mobile Web URL to our homepage and the link works (and the error message goes away) but that's not the desired behavior at all - it would mean that all links end up at the same Mobile Web URL regardless of what the link was!
Was this change made on purpose by Facebook and if so why? There's been no mention of this whatsoever on the Developer Blog.
Update 3/21 8:10am PST:
I've since found this to be a widespread problem, not just for a few apps. Just by clicking around I've seen this error on posts to weather.com, youtube, msn.com and a dozen others. It happens on both clicks from the Timeline as well as the News Feed (although strangely sometimes the same post works on one, but not the other!), and from the m.facebook.com mobile web app as well as the native iOS app.
I commented on http://developers.facebook.com/bugs/302635863137683 but no word from Facebook yet. I can't believe more people aren't talking about this right now, this is a major bug.
In your app, go to Settings -> Add platform -> Website
Add both, Website URL and Moblie Website (Yes, you need these both), then your app will be able to be opened from facebook native app.
You will also need the FB Canvas.
Same here, I recently noted that all links of items shared with our Adroid or iPhone app are broken. This only happens with the mobile version of Facebook the Desktop web version is still working. What is actually wrong on the mobile version is that the original shared url is replaced with a m.facebook url that ends with "?ref=unknown&refid=0&ft=fbid.332036910178718%3Ainterface.m_touch%3Ac.m" When user click on it Facebook is redirecting the user to the App's "Mobile Web URL" + "?ref=unknown&refid=0&ft=fbid.332036910178718%3Ainterface.m_touch%3Ac.m" instead of the original shared url.
My opinion is that this is an issue of Facebook that is redirecting the url to the wrong location, "Mobile Web URL" instead of the original post url.
Ok not working. What is going on, 1st directed to something about itunes url. I am on an Android not an Iphone. Sad state when an disabled person is unable to gain access the same as others. This is bad for all users.

New Mobile Version of Facebook on Iphone doesn't follow default page listed in Fan Page

Up until about 2 weeks ago, if you visited a Facebook Fan Page on an Iphone through safari (not the Facebook App), it brought you to the normal internet version of the site. This made it very easy to have control over what people saw first when they visited the page by creating an app and then specifying the app related tab (page) as the default landing page for users.
In this way you could include a "like / reveal" (Fan Gate) page and have the same type of incentive and offer translate directly to the iphone viewers as it had been seen on the internet using a computer. (still not sure how it looks on Android)
Since they added the redirect that forwards mobile browsers to their m.facebook.com page, if you try going to a specific fan page, it brings you to the "Wall" as the default and doesn't seem to even show the special tabs you created through an app -completely ignoring what ever defaults you had set up in the app!
Has anybody figured out a way to have a mobile browser pay attention to the default page named in the app or somehow disable the mobile browser redirect so it goes to the standard page. This is very important for using with QR codes, since you used to just link the QR directly to the fanpage address and it worked pefect, but now simply leaves the people a little confused about the offer you were promoting.
Thanks for any help on this!!!!!