share

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

与世无争的帅哥 提交于 2019-12-02 22:22:21
问题 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 回答1: 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

Copy/share configurations between paid/free versions of Android app?

馋奶兔 提交于 2019-12-02 21:16:00
My Android app comes both as a free and paid version. I have created a library project and two additional Application projects, one 'Free' and one 'Paid' version (signed with the same key, of course). Note that these Application projects are pretty much empty, no settings etc. Hence, the library contains 99% of the code. My app creates both an SQLite database and a SharedPreferences file with user data. Is it possible to copy these files between the free and paid versions? (The preferences are more important than the database.) E.g. User runs the free version. A database and configuration file

iOS - Share image + text to WhatsApp?

旧街凉风 提交于 2019-12-02 20:42:44
I'm using the UIDocumentInteractionController method to share images from my app to WhatsApp (explained in How send image to WhatsApp from my application? , WhatsApp image sharing iOS ). I'm also aware of the share via URI option, used to share texts only (explained here: https://www.whatsapp.com/faq/iphone/23559013 ). Is there a way to share both an image and a caption in a single share? Currently there is no way that you can share both image and text together on whatsapp. Sharing both image and text together is not handled from the whatsapp side. So, at a time you can share only image or

iOS Share Extension issue when sharing images from Photo library

£可爱£侵袭症+ 提交于 2019-12-02 20:19:22
问题 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

How to successfully implement og:image for the LinkedIn

有些话、适合烂在心里 提交于 2019-12-02 19:56:43
THE PROBLEM: I am trying, without much success, to implement open graph image on site: http://www.guarenty-group.com/cz/ The homepage is completeply bypassing the og:image tag, where internal pages are reading all images from the site and place og:image as the last option. Other social networks are working fine on both internal pages and homepage. THE CONFIGURATION: I have no share buttons or alike, all I want is to be able to share the link via my profile. The image is well over 300x300px: http://guarenty-group.com/img/gg_seal.png Here is how my head tag looks like: <!DOCTYPE html PUBLIC "-/

How to implement share via option in android?

柔情痞子 提交于 2019-12-02 19:24:34
I want to implement something like this. It should not be hard coded. If user haven't installed Dropbox there should not be a option to share via Dropbox. Thanks in advance ! You can do the same by using: Intent i=new Intent(android.content.Intent.ACTION_SEND); i.setType("text/plain"); i.putExtra(android.content.Intent.EXTRA_SUBJECT,"Subject test"); i.putExtra(android.content.Intent.EXTRA_TEXT, "extra text that you want to put"); startActivity(Intent.createChooser(i,"Share via")); Detailed example is here for your reference: http://mobile.tutsplus.com/tutorials/android/android-sdk-implement-a

Get the list of apps capable of handling the SEND intent to display in a View (not a popup dialog)

六月ゝ 毕业季﹏ 提交于 2019-12-02 18:12:08
I'm trying to get the list of all apps installed on a phone capable of handling the SEND intent. I am currently handling this situation by using Intent.createChooser but this is not what I am trying to achieve as I would like to be able to get access to the list of apps to display them in a View in my activity, in a way similar to how the Android stock Gallery app displays them and NOT in a spinner dialog. Screenshot available here: http://i.stack.imgur.com/0dQmo.jpg Any help would be greatly appreciated. Call queryIntentActivities() on PackageManager , given an ACTION_SEND Intent configured

Facebook share button

不羁的心 提交于 2019-12-02 17:59:29
问题 How to get facebook share button? Now a days they not showing to get code.. 回答1: firstly defined some attribute in your tag like this: > <html > xmlns="http://www.w3.org/1999/xhtml" > xmlns:fb="http://www.facebook.com/2008/fbml"> after that use this code: > <html > xmlns="http://www.w3.org/1999/xhtml" > xmlns:fb="http://www.facebook.com/2008/fbml"> > > <head> <script > src="http://connect.facebook.net/en_US/all.js"></script> > <script > src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"

How do you include hashtags within Twitter share link text?

≡放荡痞女 提交于 2019-12-02 17:29:35
I'm writing a site with a custom tweet button that uses the www.twitter.com/share function, however the problem I am having is including hash '#' characters within the tweet text. For example: http://www.twitter.com/share?url=www.example.com&text=I+am+eating+#branstonpickel+right+now The tweet text comes out as ' I am eating ' and omits the hash and everything after. I had a quick look on the Twitter forums and learnt the hash '#' character cannot be part of the share url. On https://dev.twitter.com/discussions/512#comment-877 it was said that: Hashes are special characters in the URL (they

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

帅比萌擦擦* 提交于 2019-12-02 16:53:27
问题 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