We have a facebook app that's running inside an IFRAME on a fan page TAB.
On the main page of the app, we show e.g. 10 books and users can click through to the detail page of one single book.
We want to add a LIKE button on those detail pages, so that users on facebook can like and share that book in their stream.
The problem is that facebook doesn't provide a way to like a detail page inside an iframe, as far as we can see.
Does anyone know how to solve this?
We want the liked link, to link directly to our application inside the tab of the fan page where our application has been added, in other words: when a user likes a book, others should be able to click on that liked link and see the book in the tabbed app
You might possible be able to use the app_data field to accomplish what you're looking for. Check https://developers.facebook.com/docs/authentication/signed_request/ for more info. This should allow for unique url's that you can trigger your page to respond to.
Related
I have a 2sxc app that is a simple parent-and-child setup. So there's a listing of cards and each card has a details view. I use this app on 6 pages - each with their own unique content. I want to make a "back" link inside of the details view that goes back to that detail's parent.
So one of the pages is called "Motivate", and I want it so if a user goes to "Motivate" and then clicks on one of the details views, let's say "motivate/details/marketer", I want a back link on that details view that goes back to the "Motivate" page. But this link would have to work for each of the 6 categories dynamically. How would I create this in c# razor?
Can you post your code just so that I can see how its all done?
You can the current page id in 2sxc using "#Dnn.Tab.TabID"
If you can get the parent page ID you can use the following link to go to that page
"http://www.example.com/Default.aspx?tabid=TABID"
Regards
Kieran
I was overthinking this. Here's my code:
Go back
This works because when I'm on the details view (a different template), the landing page is still the Tab's Full URL.
I need a method to get likes for my facebook page directly by cliking on a picture
I mean when a visitor of my website click in a specific picture he automaticaly likes my page
with facebook social plugin I got this link but it doesn't make you liking the page automaticaly you need to click the like button and confirm
I don't know how to get that link or html code , "I visited a website uses this method"
I hope you can help me
I researched this as well but I can confirm you that, since this could be easily abused to mislead the client and obtain a load of likes, it is not possible in an official, Facebook-approved way.
I'm a beginner in facebook.
I try to add the facebook comments box to each of my blog post, i limit it to show 2 comments from the plugins, from the facebook comments box plugin site, they set the url to example.com and it show a whole different UI from what i got.
More importantly, there is no view XX comments after 2nd comment, even i added 20 comments to it.
May i know how can i solve it? is it some setting that i need to set in my facebook app or use the graph api, i know that i can get the json from the facebook graph site as mentioned in the facebook blog developers.facebook.com/blog/post/490/
if i need to solve using json way, how do i append the remaining comments inside the website where it is using iframe.
i wish to have a easier solution like just changing setting inside my facebook app, rather than code an "View xx comments" button to do ajax call and append the result to the dom myself.
Every time I try to embed code that was recommended by another user, I get the same message: Could not retrieve id for the specified page. Please verify correct href was passed in.
All I want is something on my page that a reader can click to take them to my Facebook page. What am I doing wrong?
You can create a personal username for your account on facebook, check Facebook Usernames general information, creating a username will provide you with a custom url something like
www.facebook.com/YOURUSERNAMEHERE
you can easily add this to your blog by using the following html
Follow me on facebook
It would also be helpful if you post the code that you're trying to use currently, otherwise no one has any idea what you're trying to do.
If you just want a link in HTML to your facebook page, put this into your page:
My Facebook Page
The section that goes within the quotes should be the URL you see when you navigate to your Facebook page.
Are you talking about a Page or Profile?
For Pages, the Like Box plugin is probably the best option, and lets people like the Page right from your website: https://developers.facebook.com/docs/reference/plugins/like-box/
For your own Profile, there's Badges ( https://www.facebook.com/badges/ ) which you can use
If it's your own Profile and you want people to Subscribe to you ('Follow') - there's a subscribe button you can use for this: https://developers.facebook.com/docs/reference/plugins/subscribe/
i dont know why, but for some reason, you have to include the http:// before the link
I want to dynamically update the three images from "Trend Alert" in the EDM below:
http://sophiehart.createsend4.com/t/ViewEmail/r/D3501506593F4120/5AA0D88279FE59B738A555EB6E97B45B
To this Facebook iFrame.
http://www.facebook.com/apps/application.php?id=198582036826535&sk=app_198582036826535
I'm hoping someone knows a way to update these automagically - I don't want to have to manually change them every week.
The problem as you can see is that the EDM above spits out a different dynamic link every week.
Any one worked on something similar to this before?
This Facebook page currently features the same technique (The Latest section) - so if anyone can shed some light on it that would be great!
http://www.facebook.com/rachelzoe
EDIT: I've created the html email template and have got the iframe working - but i'm unsure how to link the images to the Facebook as the link to the html email (campaign monitor) will change weekly?
LINK to EDM: http://sophiehart.createsend4.com/t/ViewEmail/r/D3501506593F4120/5AA0D88279FE59B738A555EB6E97B45B
LINK TO FB: http://www.facebook.com/apps/application.php?id=198582036826535&sk=app_198582036826535
You can create a Facebook Application and install it as a tab in your client's Facebook Page. This tab will render an iframe with content from any URL that you specify. This way, you can do anything you want with your webpage (e.g. display 3 dynamic images), and it will be embedded in your client's Facebook Page.