Which Request Dialog is Which? - facebook-graph-api

Screenshot: Facebook Request Dialogs
http://jeremytani.artstooge.com/fb/stackoverflow/fb_requests.jpg
I'm trying to get a multi friend selector that is similar to what Zuma Blitz is using for inviting friends (left), but the multi-friend-selector that I got to pop up appears differently (right). What should I be searching for? The new Graph docs don't seem to have any examples of the Zuma version...?

Zuma Blitz is using the FBML multi friend selector dialog. You are using the requests dialog. The FBML one they are using is deprecated though so I wouldn't recommend using it for a new application.

Related

Share Dialog vs Share Button - noticeable differences

https://developers.facebook.com/docs/sharing/reference/share-dialog VS https://developers.facebook.com/docs/plugins/share-button
In experimenting with both the FB.ui share dialog and using the fb:share-button / class="fb-share-button" I've noticed that using the FB.ui method does not offer sharing options (Share on your timeline, friends' timeline, etc) in the dialog and the og:description is not displayed on the FB post (yet it is in the post preview) and markup formatting for the display is different. It's obvious that both methods are using two different services:
FB.ui: .../v2.0/dialog/share... and Share Button: .../sharer/sharer.php?...
One would think that by leveraging the JavaScript SDK a developer would have more options to customize the sharing experience, but in my experience thus far, that doesn't seem to be case.
Yes, I've run my links through the linter, my open graph tags are set properly and I've added the "scrape=true" to my query string.
At the very least, I'd hope that the og:description would get displayed on a FB post by leveraging the SDK and that the formatting would be the same. Any validation of this behavior and workarounds?
Same problem here; plus the share count on the url is not updated if shared with the share dialog; it is if it's done using the share button.
pretty weird, a bug maybe?

Custom viewpager tabs with custom view, multiple fragment and layouts

I want to make a viewpager which is just like latest facebook application.
and the problem is with tabs.
however i tried to make it, but i need icons with text in tabs and multiple fragments and layouts associated with it.
two issue occurred when i tried to develop.
1. I compromised with my UI, and tried putting static icons in it, but they don't change on selection and they don't even have badge like in facebook application.
2. when i put that code in my application which i have developed in demo app, it shows error and after researching i found that my application don't have an actionbar. so it was giving error after calling getActionBar.
please someone can provide any example or link to that which can help me.
You can refer to the official solution: http://developer.android.com/training/implementing-navigation/lateral.html
Or try this awsome lib: https://github.com/astuetz/PagerSlidingTabStrip

Switching between multiple ui forms in Qt

I am developing the user interface for a embedded device. I have created about 30 ui forms. You have first the Welcome form which loads the database and connects automatically to the available known wifi and all those start up functions. Once everything is loaded the next form to be loaded is the user login
So this is how I go about it, if Login is my second ui
//Instantiating the Login class
Login *myLog = new Login();
//Close the welcome class
this->close();
//open the Login class
myLog->show();
Is this the right way to switch between multiple UI? The software can be imagined like any smart phone device with multiple Icon buttons to open different apps. And each app or folder has a functionality of its own. I have a home button to move back to main menu homepage and so on. I have used the above given code to switch between various ui forms and I am not sure if this is the way to go about it. I am very new to Qt and I was asked to do this task within 2 weeks and I created the easiest way I found. Is there a better way to go about it?
Any help or guidelines is appreciated. If you could give me links to understand better it would be great
Thank you
EDIT
Every ui form has a short cut panel for direct access to login, main menu, settings-power options, wifi options (within settings). The layout flow shown under 1 is similar to 2, 3 and settings. Sorry for the ugly image. The two way arrow indicates i can switch back and forth. The single arrow shows linear movement.
Is there a better way to go about it?
I think so.
As noted in the comment, I would use a QStackedWidget myself.
I think this blog post explains how to establish "Home", "First" and so forth widgets inside it. This should be useful for you:
How to use Qstackedwidget in Qt (Switching between multiple views in Qt)

Need instructions for adding a Facebook Like button without using Open Graph meta tags

I can't find the specific instructions for adding a Like button to a page without including open graph tags on that page. The page in question is a third-party registration site, and we don't have access to the page header to add meta tags. I believe that there was an older version that didn't use the Open Graph (before it existed?)
Any help or advice appreciated!
You can add a like button without Open Graph tags, however you can not set the title, description and image.
The old version of share buttons is deprecated and will be unsupported soon.

BlackBerry Cascades UI File Selection

I have set up a BlackBerry Cascades-UI project. I am using QML to define the look and feel of the user interface. I need to provide the user a method of selecting an image from the device photo gallery after the screen has been touched.
Does anyone have any idea on how to provide a list on the screen with all the images in the gallery and their appropriate names after a touch event has been triggered?
Perhaps someone would like to know even though nobody answered.
There currently is no Photo Gallery dialog (though it is announced and will probably be released in an update in the near future). However, it is possible to invoke a native file selection dialog from another thread. For more information about this, go to the support forums for Cascades and find a topic called: "Using native filebrowse and filesave dialog in Cascades".
Here is a link.
on beta 3, you can use file picker to select file(s)