Facebook tab HTTPS iFrame issue with scrolling - facebook

I have an app (https://www.facebook.com/claritycomms/app_483675254991438)
It works fine when using http, however when moving to HTTPS the page no longer scrolls down, it is cut off by the iFrame.
I am not a coder - I built this app using Hype for Mac - the app worked fine for 3 days and now just doesn't :(
Can anyone help please
I have tried changing the setsize parameters in dashboard but the options arent even there
HELP!
I have 1300 fans who want to use the app!!

This is a known issue - https://developers.facebook.com/live_status
Taken from - https://www.facebook.com/feeds/api_status.php
{
"push": {
"status": "Complete",
"updated": "2012-07-03T18:50:48-07:00",
"id": 10156288
},
"current": {
"health": 3,
"subject": "Issues resizing Page Tab applications",
"post_time": "2012-07-03T19:19:42-07:00"
}
}
This issue is confirmed and Facebook are handling it. The fix should be out soon.

Related

Flutter App Counting Google Analytics Events TWICE

I am logging some predefined event and custom events on my flutter app using Google Analytics through the below way:
FirebaseAnalytics.instance.logEvent(
name: "select_content",
parameters: {
"content_type": "BusinessProfile",
"item_id": selectedbusinessprofileid,
"user_id": globaluserid,
"Access_Method": "Ad",
"Ad_Method": "CategoriesBoard",
"Gender": globalusergender,
"City": globaluserdefaultcity,
},
);
FirebaseAnalytics.instance.logEvent(
name: "New_Business_Profile",
parameters: {
"category": bpaddselectedcategory,
"Gender": globalusergender,
"City": globaluserdefaultcity,
},
);
the problem is that each event is logged TWICE in google analytics dashboard, in both debug view and production view. the behavior is for both predefined events like "select_content" and any other customer event I create like "New_Business_Profile".
I did some search, some mentioned I need to remove the events I've created from Google Analytics Admin. I did and delete it, the events are still counting twice like this.
any idea what is the reason of this problem or how can I solve it?
Edit: Solved in Debug mode, Removing the events from Google Analytics Admin solved the issue in Debug mode but it took around two hours to be corrected.
will check the production mode in 24 hours and report if solved too.
Edit: Worked fine on live too.
I suggest you to use Dart Debugger and breakpoints. Most likely your code is invoked more than once.

Facebook Open Graph Image

I had to restore a php page from an old version and now facebook debugging is not finding the og:image tag any more.
A share url is: https://maltishlanguage.com/dictionary/0603/
If I share debug the link on the LinkedIn post inspector, the og:image is shown correctly.
in the tag, I have an og:image (http jpg URL) and a og:image:secure (https jpeg URL)
The Graph API Explorer gives a good image:
{
"url": "https://maltishlanguage.com/dictionary/0523/rude/1?s=s",
"type": "website",
"title": "Maltish - I am turning round in the nothing",
"image": [
{
"url": "http://maltishlanguage.com/images/fbMaltishLanguageDictionary.jpg"
}
],
"description": "Maltish Dictionary entry from the Expression 'Qed indur fix-xejn '",
"updated_time": "2022-07-21T05:24:04+0000"
}
#Cbroe solved the issue for me, many thanks and sorry i did not understand you initially, but I just checked by setting Google into cookieless mode which showed the error where I had a session check, but in the else I was still tryiong toe read the session if not set and it was thoring the error #CBroe mentioned!
Solved and it's working now :)
So issue was that a PHP error was being written to the outpu HTML in the HEAD tag.

Initiating a phone call

Is it possible yet to initiate a phone call? E.g. if I'm making a branch finder action a dialogue might go like:
"Hi, where's my nearest store?"
"Your nearest store is our Oxford Street branch, at 300 Oxford St, Marylebone."
"Call it"
"Sure"
It then initiates a call to the store, like an Android app using an ACTION_DIAL intent.
I would think something like this should be possible, especially considering the current devices supporting Assistant are phones and Google Home, both of which can make calls (I guess future devices with assistant built in might not, but then there can be a check like app.phoneCapabilities). I've tried using .addSuggestionLink with a tel: address with no luck.
I actually made a dodgy work around for this, if anyone comes back to this and is interested.
You can suggest a webpage URL, which can be a page which has a tel: link from there. Either using server side work or just simple JavaScript (mine uses simple JavaScript), you can update the link.
My link is below - feel free to use it, I use it in my app. It's pretty basic, the documentation is in the comments:
https://domdomegg.github.io/linkgenerator?href=tel%3A%2B442070313000&bgcolor=607d8b&buttontext=Click%20to%20call%20Google
For starters, the Google Home cannot (yet) make calls. That feature was announced at I/O and will be rolling out later this year. It is not yet known if there will be API access to that feature when it does roll out. (There is certainly potential for abuse of the feature, although there are some ways that can mitigate that abuse.)
I haven't tested, but I'm a little surprised that the tel: url form didn't work since I thought that would just launch an intent on Android (tho I don't know how iOS would handle it) and tel: goes to the dialer intent.
You can show a call button which will redirect to the specified number on the dialer app.
Here's a way to do that from fulfillment response:
"buttons": [
{
"title": "Call",
"openUrlAction": {
"url": "tel:+91123456789",
"androidApp": {
"packageName": "com.android.phone"
},
"versions": []
}
}
]
Add this JSON to your response and it will show a button which will redirect to default call app and shows +91123456789 number filled.
EXTRA
Similarly, if you want to send mail then you can add:
{
"title": "Send Mail to Jay",
"openUrlAction": {
"url": "mailto:Jp9573#gmail.com",
"androidApp": {
"packageName": "android.intent.extra.EMAIL"
},
"versions": []
}
}

How to keep cookies with webview-based Chrome Hosted App

I've just built my first Chrome app (https://chrome.google.com/webstore/detail/gitter/ldhcdmnhbafhckhidlhdbeekpifobpdc) and am experiencing a problem with cookies.
The app effectively boots an index.html page in a window, which has a webview pointing at our regular web application.
If I Quit Chrome on my Mac, every time I launch the Gitter Chrome App, any cookies seem to have been wiped out and so I have to login again (and also login to GitHub again).
I can't quite exactly figure out where to start looking, if anyone has any pointers, I would much appreciate it.
PS. I've checked this question & answer out (chrome Extension : Set persistent cookie in chrome extension?) and as far as I can tell my problem isn't related to non-expiring cookies as we do set expiration on the cookies.
My manifest looks like this:
{
"app": {
"background": {
"scripts": [ "launch.js" ]
}
},
"description": "Chat for GitHub.",
"icons": {
"128": "icon-128.png",
"16": "icon-16.png"
},
"manifest_version": 2,
"name": "Gitter",
"short_name": "Gitter",
"offline_enabled": true,
"permissions": [
"unlimitedStorage",
"notifications",
"webview",
"http://*/*"
],
"version": "1.0.0.3"
}
and the page it boots into a window basically does this:
<webview id="wv1" style="width:100%; height:100%;"
src="https://gitter.im/">
</webview>
I think you need to add a partition attribute to your webview tag with a value starting with persist:
partition
Storage partition ID used by the webview tag. If the storage partition ID starts with persist: (partition="persist:googlepluswidgets"), the webview will use a persistent storage partition available to all guests in the app with the same storage partition ID. If the ID is unset or if there is no persist: prefix, the webview will use an in-memory storage partition.

admin link for managing likers of opengraph webpage disappeared

We have a pretty popular webpage about solar system http://www.solarsystemscope.com/
It has open graph tags, and a like button. and it has almost 90000 likers, to which we would like to post a news, that we are creating a new huge project about general education.
There WAS a admin page, where it was possible to access our fans. Now it disappeared, and we are not able to get it again.
We have checked the syntax and compared with the most common bugs,
we have rechecked it also with the lintner
we have tried many other things.
And we have no idea what to try next.
Everything looks correct, but there is no link to the admin page.
The object for the page is
http://graph.facebook.com/10150134043072528
ANY idea or hint what to try next is appreciated !
Thanks a lot!
mayo
I've come up against the same problem just today :)
You can figure out easily in three step:
Find open graph id for your webpage. Use https://graph.facebook.com for this.
Log In with the Facebook Username you use to admin your webpage
Follow http://www.facebook.com/{web page open graph id}
For example, entering into your browser (use firefox ;) :
https://graph.facebook.com/?id=http://www.solarsystemscope.com/
you'll get:
{
"id": "270906306253750",
"name": "Solar System Scope",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/276562_270906306253750_50107134_s.jpg",
"link": "http://www.solarsystemscope.com/",
"likes": 4132,
"category": "Website",
"is_published": true,
"website": "http://www.solarsystemscope.com/images/solarsystemscope_og_1.jpg",
"description": "Watch and Play model of Solar System Planets and Constellations moving over the Night Sky.",
"about": "Watch and Play model of Solar System Planets and Constellations moving over the Night Sky.",
"can_post": true,
"talking_about_count": 35
}
And after facebook login, follow this link https://www.facebook.com/270906306253750
Hope this helps