share

Facebook and twitter share for mobile web

僤鯓⒐⒋嵵緔 提交于 2019-12-02 14:57:08
Is there a special url for sharing to Facebook and Twitter for mobile? Or are they the same as those from websites? Using <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script> <a href="javascript:return false;" rel="nofollow" onclick="window.open('https://twitter.com/share?text=sometext&url=someurl', 'Twitter', 'toolbar=0,status=0,width=626,height=436')">Twitter</a> for Twitter and <script> function fbs_click() { u='www.something'; t='title'; window.open('http://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer',

How To Make The Facebook Like Button Display None When Logged In As Page

纵然是瞬间 提交于 2019-12-02 13:55:27
问题 I have the Facebook like button on my site http://theganjagirls.com ... everything looks and works fine when I'm logged into my Facebook account... But when I'm logged in as a page admin, the Facebook like button displays a "switch" link inside a big white box. Ive seen this happen on many big sites so I know its a problem with Facebook. I just went on to teespring.com/ganjagirls and they cleverly make the Facebook like button simply display:none when your logged in as a page admin. So my

og:image ignored when sharing link, although accepted in linter

这一生的挚爱 提交于 2019-12-02 11:04:58
I want to share a link to my own website on Facebook, so I added the necessary og: tags to the <head> section. Checked it in the linter, and it displays everything I want it to display. When I actually want to share it in the newsfeed (as in copy and paste the link into the status formular), the image is ignored. Here's a sample link: http://iamschulz.de/video/4 Does it break the image size requirements? If so it'll still be detected by the debug tool, but won't actually be rendered in the news feed Images must be at least 50 pixels by 50 pixels. Square images work best, but you are allowed to

Facebook Sharer issue (always shows (+) and (%) behind every word)

拈花ヽ惹草 提交于 2019-12-02 10:12:58
I would like to ask how I can fix my Facebook sharer issue. Whenever I want to share my article via Facebook sharer, it pops up the facebook window, which is totaLly ok. But in the window it shows pluses (+) and (%) behind every single word. Can You guys help me with it? You can take a look here at my website: http://www.asiancrib.com/post/test-2/ Try to share the article, you will see the issue. Kindly go to https://developers.facebook.com/tools/debug/og/object/ and type your URL . you will notice a couple of things: Your content already has + % in the description. <meta property="og

iOS Share Extension issue when sharing images from Photo library

我是研究僧i 提交于 2019-12-02 09:04:49
Below is a code that I use to share images within my "ShareViewController.m". NSExtensionItem *item = [self.extensionContext.inputItems objectAtIndex:i]; NSItemProvider *itemProvider = item.attachments.firstObject; if ([itemProvider hasItemConformingToTypeIdentifier:(NSString *)kUTTypeURL]) { [itemProvider loadItemForTypeIdentifier:(NSString *)kUTTypeURL options:nil completionHandler:^(NSData *data, NSError *error) { NSLog(@"%@", data); // the rest of uploading script goes here }]; } It all works fine if I share an image from WhatsApp. But it doesn't work if I want to share an image from Photo

Image preview in email Intent not showing when loaded from Assets Folder

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 08:24:21
I have something like the following code: public void shareImageInEmail(String imageUri){ Intent emailIntent = new Intent(Intent.ACTION_SEND); emailIntent.setType("message/rfc822"); emailIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); emailIntent.putExtra(Intent.EXTRA_TEXT, "Some text"); emailIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(imageUri)); mActivity.startActivity(emailIntent); } When the Uri is grabbed from the media folders (camera albums, etc) everything works fine. The problem is when I take a Uri from the assets folder like this: share("content://com.ex.myapp/logo.png"); In that

Facebook Doesn't appear on share windows when trying to share an Image

╄→гoц情女王★ 提交于 2019-12-02 08:12:10
I create a bitmap in my app and want to share it via email apps or Facebook using Intent.ACTION_SEND. the share window opens and gmail and yahoomail apps icon appear but no facebook or g+! I really doesn't know what's the problem. There is another problem that gmail app cannot attach the file (created from bitmap). I read a few similar questions but still I'm stocked. Help me please. here is my code for sharing: private static File writePhotoPng(Bitmap data, String pathName) { File file = new File(pathName); try { file.createNewFile(); // BufferedOutputStream os = new BufferedOutputStream( //

Qt and files in shared folders

删除回忆录丶 提交于 2019-12-02 07:09:27
问题 Can I use Qt to pick/open files on shared folder? I've tried to use QFileDialog, but it seems that there is no "network" category, as in standrd windows explorer. 回答1: You need to specify which version of Qt you are using. Versions 4.7+ have support for native file dialogs and use them by default. See the accepted answer here: QFileDialog alternative that uses default file dialog defined by OS? In previous versions, there was no easy way to show network shares in the QFileDialog on Windows.

Qt and files in shared folders

假装没事ソ 提交于 2019-12-02 06:44:58
Can I use Qt to pick/open files on shared folder? I've tried to use QFileDialog, but it seems that there is no "network" category, as in standrd windows explorer. kaliatech You need to specify which version of Qt you are using. Versions 4.7+ have support for native file dialogs and use them by default. See the accepted answer here: QFileDialog alternative that uses default file dialog defined by OS? In previous versions, there was no easy way to show network shares in the QFileDialog on Windows. 来源: https://stackoverflow.com/questions/4818108/qt-and-files-in-shared-folders

XCODE / IOS - How to use exclusive extension to immediately present whatsapp (.wai, .waa, .wam)

戏子无情 提交于 2019-12-02 05:37:34
问题 Is there any way to make work that part of the whatsapp document interaction API: Alternatively, if you want to show only WhatsApp in the application list (instead of WhatsApp plus any other public/*-conforming apps) you can specify a file of one of aforementioned types saved with the extension that is exclusive to WhatsApp: images - «.wai» which is of type net.whatsapp.image videos - «.wam» which is of type net.whatsapp.movie audio files - «.waa» which is of type net.whatsapp.audio When