Custom favicon for bookmarklet - favicon

Does anyone know of a workaround/trick to automatically set a custom favicon for a bookmarklet? I know it's possible for the user to change the favicon manually, but I want to be able to have it set automatically either when the bookmarklet is dragged to the bookmark bar or, perhaps, after the user first clicks the bookmarklet in the bookmark bar.

Related

How detect if user view app in facebook frame or not?

I have disable scroll in my app, so there is only scroll from facebook - it looks cute and I like it, but if came to my app directly on site, there is also no scroll bar. I tried to detect if user load page with url http://mysite.com or http://apps.facebook.com/myapps, in both ways I get the same direct address link, so I cant detect if user view my app via facebook and I need to hide scrollbar or view it on site and I need to show scrollbar. So is there a way to detect how user view my app?
What server side language are you using? If you are inside the facebook iframe, your page will be requested with a post variable set called signed_request. You can check if that has been set in your code, if it has you know you are inside the facebook iframe, if it's not then you are on your site. From here you could either conditionally change your css to allow the content to overflow properly and get scrollbars, or redirect them into the facebook app.

Timeline & iFrame

Can anybody guide about how
does the new FB timeline incorporate the iframe for its pages.
Or is there any new stuffs coming in to replace these stufs?
The way you create and display your iFrame will be the same, except for a size change.
The new iFrame will be 810px wide, instead of 520px - existing tabs (apps) that are set to 520px will just be centered on the page, so they aren't "broken." Giving us 290 extra pixels is great!
You can no longer set a tab as "default landing page". Instead, users always see the main Timeline view and have to actively click through to custom apps.
To edit which apps you display, click the drop-down icon to the right of the tiles, click the ‘+’ button to import your custom apps, and then hover over them and click the pencil to swap them around.
If you have a contest or something on a tab which you would have wanted set as the "default landing page", you can create a post on your page which has a few sentences advertising such, with a link to the tab. You can then "pin" this post to the top of your page, so it will be the first thing users read. "Pinning" and "starring" on your Page act exactly like they do on your personal timeline.
Here's a good explanation of all changes

Customizing the Facebook view

I need the lightblue bar to scroll up (hide) and display the Facebook bar. For example look at this image.
I need the light blue bar (which contains the search bar, refresh button) to be scrolled up, so it hides and displays from the Dark Blue Facebook bar as shown in this image.
I have seen this in many applications but, how can i implement it in my application programatically ?
There's no way to control safari from your app, and since Facebook serves the HTML there's no way to alter that either. So to achieve what you're looking for you could create your own UIWebView and present it modally instead. The issue you'll have here, though, is that you won't have access to the users cookies, so they'll have to log in to Facebook again.

Facebook Change FBML Tabs Icon

How can I change the FBML tabs Icon from the default one to a custom one, please?
It does have an icon with the new layout and it looks terrible.
Found this video about changing your own app's icon: http://www.youtube.com/watch?v=eIcG5VekxM0
But that doesn't apply to the FBML tab (since it is not my app).
As far as I know, FBML tabs doesn't have an icon, just text.
Maybe do you want to change your facebook app icon that appears on the user's app menu on the sidebar?
If it's this, you can change it on the app settings, there are two images to upload: one will appear on the permissions dialog and the other is the 16x16px that I've mentioned before.
I don't exactly have an answer but because my question is exactly the same as yours, I thought I'd add on here. But do tell me if I shouldn't be doing this and I'll remove it immediately.
I see ChickFilA uses customised icons for their tabs. Wonder if they developed their own app(s) thus the ability to customise the icon(s), or if there really is a way to customise FBML icons.
There's no icon for FBML tabs. But there's an icon for an application based Facebook tab. Here's how.
Create a Facebook app that can be integrated as a tab (Choose Page Tab Type as FBML)
E.g. Chick Fila created Spicy Biscuit app http://www.facebook.com/#!/ChickfilA?sk=app_119130604778515 that actually was later rendered as a Facebook tab (named Spicy Biscuit)
When you create an app, you can add an icon.
Submit your app to the Facebook app directory (Your application must have at least 5 total users or 10 monthly active users before you can submit it)
Now, go to the application page. E.g. Chick-fila Spicy Buscuit http://www.facebook.com/apps/application.php?id=167096109994873
Click Add to my page. Add it to the page you want to the tab embedded.
Done.

Coda Slider Tab Navigation

I am using Coda-Slider for my website and I want to know if there is a way to change the content of each tab. For example, the user navigates onto tab2 where I placed a link to redirect the user to another page. Is there a way NOT to navigate away from the page nor the tab but instead load the link inside the tab? I was thinking it would look something like a modal box that would stay inside the tab instead of popping up.
see 19. Coda-Slider Sliding Tabs or you might want to try 35. JQuery IDTabs if you want the effect to be non-intrusive