When sharing a website via FB.ui (feed dialog) and it hasn't been scraped yet by the Facebook Debugger the preview in the feed dialog looks fine, but when the link is shared it is shared as a complete URL (all og meta data seems to be lost).
It also breaks when the feed dialog is called for the second time.
Reproducable on this link:
https://devmonks.vellance.net/fbui.php
Click on post.
Click cancel in the popup.
Click again on post (with the same random parameter in the textfield).
Expected Behavior:
Click on post -> you see the og meta data in the popup.
Click cancel in the popup.
Click again on post (with the same random parameter in the textfield) -> you see the og meta data in the popup.
Actual Behavior:
Click on post -> you see the og meta data in the popup.
Click cancel in the popup
Click again on post (with the same random parameter in the textfield) -> you don't see the og meta data in the popup.
Is this a bug in Facebook?
Related
I have been trying to control the back button behavior on how far back it goes to the capsule after leaving the navigation punchout command. Such as, after pressing the back button on the website that was punchout, it takes me back two layout screens, rather than one.
The model of my capsule goes in this flow:
(Vocal input) -> Object List (After vocal input) -> Object Page (After selecting an object) -> Website Link Punchout (After an on-click event of the object page)
Website Link Punchout:
result-view {
match : ObjectWebsite (this) {
min(Required) max (One)
}
render {
}
app-launch {
payload-uri("object website link")
}
}
The expected result, while being on the website page, is to return to the object page, not to the object list page.
The output results in returning to the object list page after I press back button to exit the website link.
Thank you for raising this question. The scenario you have mentioned would be a bug, pending verification on our end. Please open a ticket with Developer Support to be notified when this bug is fixed/closed.
I'm setting one Page that shows the Employees List in Card. While pressing on a specific Card, it navigate to another page that shows specific employee details. I added a back button in app bar to pop.
The Problem is when clicked first time, it shows the correct details. But when back button is pressed and another profile is clicked, the screen shows the same previous employee details.
What to know how to clear the Screen while pop in Flutter?
Well with no code or error logs ,its difficult to deduce the source of the error.However you could check into state management of you app, data source (is it fetching the right data from database, api etc), could you have hard coded the data.
I'm trying to create a google chrome extension (I'm almost a newb at programming, although I understand the basics, somewhat) that will search a video streaming site for the title that you enter. The site is somewhat slow, and going through a page or two to get to the sites' search bar can be a pain. I would (for now) like this extension to tie into the sites' existing search url. Here is part of the URL. When you leave the search field blank and search, this is the resulting URL
anisrch_title=&op=srch&anisrch_cat=
When you actually search for something, it simply inserts the search term as follows:
anisrch_title=(SEARCH TERM HERE WITHOUT PARENTHESES)&op=srch&anisrch_cat=
As I mentioned before, I am a programming newbie, and am unfamiliar with all sorts of programming techniques. How would I go about making an extension that redirects you to the URL + the search term inserted into the appropriate place?
For example, upon clicking the extension Icon, a pop-up appears with a text field and a "Go" button.
Textfield input = SearchTitle
And upon clicking the "Go" button, the extension redirects you to the full link of:
anisrch_title=(SearchTitle)&op=srch&anisrch_cat=
Please be patient with me, as I am a newbie at coding and I am still learning. The site I am making this for is strained by heavy load, and insufficient server resources. Could someone please walk me through this?
For example, upon clicking the extension Icon, a pop-up appears with a
text field and a "Go" button. Textfield input = SearchTitle
Use a browser action (https://developer.chrome.com/trunk/extensions/browserAction.html). The popup of a browser action can be a html page. Just put your text field, go button, etc in popup.html.
And upon clicking the "Go" button, the extension redirects you to the
full link of: anisrch_title=(SearchTitle)&op=srch&anisrch_cat=
redirect? Did you mean opening the search page in the current tab? If that is the case, use chrome.tabs.update (https://developer.chrome.com/extensions/tabs.html#method-update) in your handler of onclick for the button (say your button id is go and text field id is query). Because of CSP (https://developer.chrome.com/trunk/extensions/contentSecurityPolicy.html), you must place your JavaScript code in a separate popup.js and refer to it in your popup.html.
document.getElementById('go').addEventListener('click', function() {
chrome.tabs.update({url: 'http://yoursite.com/path?anisrch_title=' + document.getElementById('query')'&op=srch&anisrch_cat='});
});
If you prefer opening a new tab, use chrome.tabs.create instead.
If you're not familiar with basics of Chrome extensions, the Getting Started tutorial will help you much: https://developer.chrome.com/extensions/getstarted.html.
I have a web-part that includes a simple web form. After submitting the web form, the user sees a thank you or an error message.
It is in a codeBehind on Click_event:
lblMessage.Text = "Your Profile Details were updated successfully";
And code in the asxc file:
<asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
The problem is that the message doesn't disappear after the page is refreshed.
When you hit F5 this is refreshing the page to it's original state where the label doesn't have any text as you showed. The only way for your label to have that text is to go through the button click event.
Looks like you need to read some info on page life cycles and view
state:
http://rameshsps2010.blogspot.com/2011/06/sp-and-aspnet-page-life-cycle.html
http://nishantrana.wordpress.com/2009/02/14/understanding-web-part-life-cycle/
http://www.sharepointdotnet.com/2012/02/page-lifecycle-events-in-aspnet.html
I have two web parts in my sharepoint aspx web page. One is Content editor web part and the other is data form web part.
In data form web part, I have a data view and I need to pass a parameter "id" to this dataview which will show the project details in the data view. I tried to use a value from a control as a parameter and never had a success. I did googled a lot last few days and haven't found any solution. It would be great, if someone show me a way to use the text from a control (may be a text box or select control). if someone have a working sample, please share. Alternatively I have used a query string as a parameter (eventhough I prefer to use text from a control). We need to pass a query string called id. For example, I am navigating to http://localhost/pages/1.aspx?id=7. This will show the project details of project id 7 in data form web part. this works fine.
I need to provide an option to user to enter the project id instead of modifying the query string in url. To achieve that I used content editor web part and I have a text box text1 and a submit button (html controls). The user will enter project id in the text box provided and will click the submit button to view the project details in dataview. The submit button javascript code has the following code:
url = 'http://localhost/pages/1.aspx?id=7';
alert (url); //alerts as http://localhost/pages/1.aspx?id=7
window.location = url;
For testing purpose, I just hardcoded the url. However, clicking the submit button is not redirecting to http://localhost/pages/1.aspx?id=7 or something happens during redirect. The page just reloads once. i.e., if I am in http://localhost/pages/1.aspx?id=12 and clicking the submit button reloads the page http://localhost/pages/1.aspx?id=12 instead of navigating to http://localhost/pages/1.aspx?id=7.
Without data form web part, the redirect works fine. Kindly help.
Thank you