facebook like button in wp7 app - windows-phone-7

For my WP7 app, I have an associated facebook page. How should I go about adding a Like button in my WP7 app that the users can click to do a LIKE? Do I create a webbrowser control that opens webpage containing the LIKE button?
Looking for some ideas. Thanks.

For applications I made, I created a WebBrowserTask and redirected the user to the facebook page URL.
With current APIs you can not run Facebook tasks. Hopefully in future :)

Related

There is no plus button when I click "show tab bar"

I'm working on a web browser app for mac. I was playing with the test app then I saw this option...
When I clicked on that, I saw this...
But there was no plus button. Is there any way I can show the plus button in the tab?
Please don't send me the link to the Apple documentation because it doesn't give the exact code.
BTW, this is not a document based app
This is an app developed by Apple Inc. You can download it. In this app, you can add tabs. So change the name of this app and you're all set
https://developer.apple.com/documentation/appkit/documents_data_and_pasteboard/developing_a_document-based_app
Wish you best of luck on making a web browser

Are there any changes in the WebView related APIs in UWP or UAP Windows app?

I am having a Windows 8.1 supported app, but now it is updated to the UWP/UAP (i.e. Windows 10) app.
After updating the custom URI scheme is not working, On a button click on the web page, we were using "navto://" custom URI scheme and handling were done in a js file. The button action was bind through the anchor tag.
From this approach, we navigate our web pages forward/backward or used to send a user to a particular web page.
But now this js file is being not called on the click of the same button and a System Popup appear saying "You will need a new app to open this navto link". For reference, please have a look at the attached screenshot of the error popup. If anybody is familiar with the issue, please suggest me the solution.
Actually I followed this page to migrating the app https://learn.microsoft.com/en-us/visualstudio/misc/migrate-apps-to-the-universal-windows-platform-uwp?view=vs-2015#MigrateCSharp
And also tried other options as well by googling but I haven't got any perfect solution yet.
Thanks

How to add a facebook page's events to website

I'm looking for a solution to get a list of events from a public page on Facebook to display on my website in a list. I'm using Magento 2 for the website. I know there are Facebook widgets, Facebook login capabilities, etc. I don't want any of that. I am not looking to integrate Facebook, I just want a list of the publicly viewable events so I can put them on my website. I don't want events for a user, I want the business page's events. This seems like it should be a straight forward thing but I can't seem to find anything that does this.
Alternatively, I've heard you can integrate Google Calendar to create events in Facebook, and I could integrate Google Calendar into my website. That seems a bit more convoluted as the social admins prefer to create events in Facebook, but I'll take what I can get. If this method is the best way, can you point me in the right direction? Are there libraries to use, etc?
Thanks!
Yes you're correct, you can integrate Google Calendar to Facebook and you can also embed a calendar in your Facebook Page. You don't need to code the integration, you can just follow the steps provided from this blog.
Here are the steps you on how to add your Google Calendar to your Facebook Page:
Open up your Facebook Page
In a separate tab open up your Google calendar
Click on the cog in the upper right-hand corner, and select “Settings”
Click on “Calendars”
Click on the calendar you want to add to your Facebook Page
You should see the embed code here (If you want to make any color changes or style changes you will need to do it before adding it to
your Facebook Page)
Select all the code and copy it to your clipboard
In another tab open this link: Static HTML: iframe tabs
Click “Add Static HTML to a Page”
Select the page you want to add a new tab to from the drop-down menu
Next click “Add Page Tab”
Once your page has refreshed, click “Set up tab”
Select all the text in the app editor, and delete it
Paste the code that you copied from your Google calendar
In the upper right-hand corner click “Save and Publish”
Refresh your Facebook Page and check out your new tab

How Can I navigate back to home screen in Windows Phone 7.1

I have a created an app which has a Homescreen/landing page,Now whenever user navigates till last page and clicks the device back button he is redirected back to Homescreen. Now the issue is I have written code to clear all the backstack whenever user lands on the Homescreen in Homescreen OnNavigatedTo block. So whenever user clicks device back button of last page he is navigated to homescreen by creating a new instance of HomeScreen page.
On Homescreen the backstack is cleared, so the user can exit the app from homescreen when he clicks the device back button.
But according to Microsoft marketplace policy, backbutton must go back or go to previous page in backstack and not navigate to new page.
So the question here is should I clear all my backstack and go to homescreen or what I am doing is right?
As far as I know, they are not so strict as that. They just want you to handle the back button.
I had blocked the back button in some pages of my application and the certification failed. I changed the behavior of the application, to either close the application when navigating back or jump a couple of pages back, and it passed certification.
Just make sure the back button does something...
The reason they dis-advise you from doing this is because you are using the wrong organisation.
Going deeper usually means you get too more specific data, in a way you can go back up one page.
Going to the side usually means that you get more data, eg. Panorama / Pivot
I can't see a case where going deeper would disallow the user from going back to pages in between, I would not use your application if I had to start it every time again or when it would go deeper when it is actually supposed to let me scroll through the content.
Trying to surround their certification is definitely not the way you should be going, but rather embrace it.
See this page for layout tips and tricks for the Panorama and Pivot controls.
As per the comments, you might find it a lot easier to ditch having to learn all platforms.
A jQuery Mobile application can do that for you.
jQuery mobile framework takes the "write less, do more" mantra to the next level: Instead of writing unique apps for each mobile device or OS, the jQuery mobile framework allows you to design a single highly-branded web site or application that will work on all popular smartphone, tablet, and desktop platforms.

Create a new tab instead of a panel

I have gone through the examples of Add-on SDK 1.5 yet haven't seen anything like a web page which the addon can interact with the user and get input from him. There are only dialogs called panels and I really would like to have a real page in a tab like in google-chrome addons.
Is it even possible with the Add-on SDK (1.5)?
Of course you can create a tab, you use tabs.open(). As to interacting with this tab - you probably want to register a content script before opening the tab. Just like you would do it with Google Chrome.

Resources