FB LIke Button & FBML - fbml

I have created a tab (now in the side menu) using FBML which links to my website. I have added a "Share" button which works, but can't seem to add a "Like" Button. Can anyone tell me the code?

You can't officially... However there is a workaround in using the FBML comments like button.
See: http://blog.elliotjameschong.com/2011/01/03/how-to-add-a-facebook-like-button-to-a-fbml-tab/

watch this, is in spanish but the code works
http://cosasparaelface.blogspot.com/2011/01/colocar-el-boton-me-gusta-en-pagina.html

Related

How do I click dropdown arrow in Facebook programmatically with VB.NET?

I'm looking for a way to programmatically click the drop-down arrow that appears when we open a specific FB post such as https://www.facebook.com/userxxx/posts/10155300116786742
Can anyone please provide me the code for Visual Basic? Thank you.
Drop-down arrow
in your webbrowser control you can invoke javascript code inside of the requested page by using
WebBrowser.Document.InvokeScript("eval", "some javascrtip here")
that leaves us with the problem of doing the dropdown click with javascript. That you can do with:
document.querySelectorAll("[data-testid=post_chevron_button]")[0].click()
so, all together it end up being
Dim micode As Object() = {"document.querySelectorAll('[data-testid=post_chevron_button]')[0].click()
"}
WebBrowser.Document.InvokeScript("eval", micode)
notice the js code provided might change. You should decide what code is better yourself. I recommend open facebook or any page, in chrome and press F12 ... that is the developer console. You can run and debug javascript there.... have fun!

Selection option in Alert Box (Titanium Appcelerator)

How to add select options in Aler Dialog as shown below using Titanium Appcelerator?
I checked the documentation in this link, but there is no much reference.
is it possible in Titanium?
i think at present titanium does have the feature you shown in image....
but we can create view which looks like alert view and show....
those button shown in link are general alerts

How to toggle a Bootstrap dropdown menu from a link?

I have a Bootstrap dropdown menu that is working fine. What I'd like to do is also trigger the opening of the menu by clicking on a link elsewhere on the page. (This makes sense because of what's in the menu item, etc.) The doc page says that having the link do something like $('.dropdown-toggle').dropdown(), or maybe $('.dropdown-toggle').dropdown('toggle') should do this, but neither is working for me. Any suggestions?
try
$(".dropdown").addClass("open");
and
$(".dropdown").removeClass("open");

Facebook comments change "like" button behavior?

I've used like buttons on my site for several months using http://www.addthis.com/ and they've worked fine. Recently I decided to start using facebook comments on the pages instead of my previous commenting system but I've found that adding the plugin to the page has an unexpected impact on the "like" button.
The like button has been configured in the button_count style with no send button, however if the comments module is on the page the flyout appears upon liking the content. I don't want this to happen.
It may also be worth adding that there is a "like-box" on the page too but that it seems fine.
Does anybody know of a tie/conflict between comments and "like" buttons that would make this happen? Any help resolving this would be greatly appreciated.
Thanks

I'm building a theme for tumblr and the {HasPages} doesn't seem to work properly

I've put the HTML draft of the theme so far, with minor CSS edits.
Currently I have all the block posts and everything else that's essential to a tumblr theme but I can't seem to get the {HasPages} block to work properly.
I've tested it on a different tumblr, also. There are pages created and I already have provided some basic CSS for it just in case. But there isn't anything showing up.
Has anyone has this problem and if so, is there a solution I'm missing? The code to display the pages is included.
{block:HasPages}
<ul>
<li>Home</li>
{block:Pages}<li>{Label}</li>{/block:Pages}
</ul>
{/block:HasPages}
Also, is this a valid web masters' question. I'm not sure.
I just had this issue: a link to a page I created didn't show up.
I solved this by checking off "Show a Link to this Page" in the Page options. To find this:
Go to tumblr.com.
In the top navigator click the gear. This is where the settings are.
On the side, click on the blog you want to customize.
A customize button should show up beside the name "Theme". Click on this button.
Now your blog will show up with a Customize panel. In the Customize panel there should be a Pages section. Click the Edit button beside the page and a window will pop up.
You can find the "Show a Link to this Page" option in this window.
Let me know if you need any clarification.
As far as I can see your code is right. Have you clicked the 'show a link to this page' checkbox, which is at the bottom of the page edit popup? I bet that's it... :)
I have also been having this problem. However, everything works correctly on my actual page, even though the theme editor does not appear to be aware of the block on my custom theme, nor does the theme preview seem to be aware of the pages tagged to show.
Have you tried saving your theme and checking the links on the live page?

Resources