When a user tries to bookmark one of my pages, I really want it to bookmark a different URL (in my case a tel:// URL -- on the iPhone). Is there a meta tag or something I can use to specify that the browser bookmark an alternate URL?
Sure you can, here is how you can do it:
For exemple:
Click here to add my site to your bookmark.
Does this help you ?
Related
I have to build the URL that point directly to expedia review.
I think the best solution is to append to the URL multiple Anchor tag ID.
something like this:
http://www.expedia.it/Padova-Hotel-Hotel-M14.h4214808.Hotel-Information#reviews#BVRRDisplayContentReviewID_39211683
But it doesn't work, this url doesn't go directly to the user review.
Appending #reviews at the end of the URL the page tab is correct but i have to go directly to the user review using ID anchor Tag.
http://www.expedia.it/Padova-Hotel-Hotel-M14.h4214808.Hotel-Information#reviews
Reviews ID is BVRRDisplayContentReviewID_39211683
Does anybody knows how to hack this?
You can't actually 'double-anchor'..
Best place to start is to read the existing share links they provide and then hack with
that:
http://reviews.expedia.com/6510-<country/language site>/<hotel id>/review/<review id>/redirect.htm
e.g.
http://reviews.expedia.com/6510-it_it/4214808/review/39312750/redirect.htm
I'm attempting to put a named anchor on a part of our Facebook tab and add "#anchor" to the shared URL so when users click the shared link it will take them directly to the proper content on the tab.
I added to my tab and then recoded the FB Feed Dialog URL so
link=http://www.facebook.com/mybhg?sk=app_279723102083145#quiz
and
actions={name:'name',link:'http://www.facebook.com/mybhg?sk=app_279723102083145#quiz'}
In testing the dialog displayed an error saying both of these were invalid links:
Requires valid redirect URI
actions should be a JSON-encoded dictionary with "name" and "link" keys
So I bit.ly'd them which Facebook accepted and you can share the short URL. When users click the shared link though, the correct URL is used (with "#quiz") but the browser does not snap to the anchor location.
Since FB failed on the original URL, I suspect they aren't set up to parse #named anchors in their URLs, but I wanted to put it out to the community and see if someone has made it work (or confirmed it doesn't.)
Thanks!
URL fragments (the #) can't be read on the server side.
What you can do is use the app_data parameter, which is forwarded to you on the signed_request parameter, parse it accordingly, and have some Javascript to force the jump yourself.
Does TweetDeck or Seesmic have a custom URL scheme that can be used within an iPhone application? If so, what are the structures of these URL schemes?
As far as I know TweetDeck doesn't have one (I've had users ask for this in my app). Seesmic has quite a complex one.
See here for a list of other URL schemes.
TweetDeck's URL scheme is very limited...
Open the TweetDeck Home column tweetdeck://
Open the TweetDeck Me column tweetdeck://mentions
Open the TweetDeck Inbox column tweetdeck://directs
Open to the search panel tweetdeck://search
Open a search for "badgers" tweetdeck://search?q=badgers
I am not sure, I am using a pretty standard piece of code for facebook. It sends requests for people regarding my application. All of a sudden I am receiving this error:
serverfbml form action must be within
the application's connect url
Have you been having problems with using either one of these:
fb:serverFbml
fb:request-form
fb:req-choice
fb:multi-friend-selector
thank you!
I don't know if you managed to find a solution yet, but I will tell you what my solution is. The action attribute of your forms should NOT be relative URLs, that is you should give the full URL of the website where the application is hosted:
fb:editor action="http://www.mydomain.com/myapp/index.php?params=1" labelwidth="100"
Use the canvas URL under Facebook Integration section in your application's edit mode.
If your canvas URL looks like this:
http://www.example.com/myfacebookapp/
then, in server fbml form action, the URL MUST be in the same directory of your canvas, like this:
(using the example of
<fb:request-form action="http://www.example.com/myfacebookapp/somepage.html"
Also, if the whole contains blank spaces i.e.
http://www.example.com/myfacebookapp new/
consider eliminate that blanks, or use %20 instead of the blank when you specify the URL canvas on Facebook and when you use that URL in form
<fb:request-form action="http://www.example.com/myfacebookapp%20new/somepage.html"
I solved it finally.
Dont get messed up with all type of setting.
Simply go to your facebook app
click edit app button
now copy Canvas URL
and paste it under
<fb:request-form action="CANVAS URL HERE"
method="POST">
Well, it worked for me.!
Thanks to "tsegaye"
i had the same issue.. i used the canvas url in the summary page and it worked. You can try it out aswell
This is not the solution. If you do this, when user clicks "skip" on the dialog, he would be send to http://www.mydomain.com/myapp/index.php?params=1" instead of your application.
The solution is:
action="http://apps.facebook.com/myapp/" -> this "/" at the end would help.
It could be also any other action inside your app for example:
action="http://apps.facebook.com/myapp/sendRequest"
This solution works if you use friend selectors outside the scope of sending requests. For eg. Selecting friends to collaborate with in your app.
Not an answer but this is what helped me. I have a iframe based application and i tried to use the facebook iframe based friend invite code. In my action, i put the app.facebook.com/myapp/ url which whould be give me this fbml error
serverfbml form action must be within the application's connect url
Also when i pressed "skip" it would take me to a 404 error. The solution was to use the canvas url under facebook integration, as suggested by #tsegaye
I have a JavaScript bookmarklet that I'd like fans of a certain page to take. Unfortunately, the only way I've found of distributing it is giving them the raw JavaScript source, which is then problematic to add as a bookmark.
Ideally, I'd use
Drag this to the bookmarks bar
But FBML filters out the JavaScript href.
Any advice?
If it is not possible using fbml, I would share a link to a web page where you put the actual bookmarklet. It is the opportunity to display on this page a tutorial on how install/use the bookmarklet.
Huh. Looks like dragging the bookmarklet in text form is sufficient to create a bookmark.