social-media

Facebook link thumbnail

陌路散爱 提交于 2019-12-18 21:27:09
问题 When posting a link to a website in Facebook (Google+ and the rest count too) you're given a thumbnail, or selection of thumbnails to choose from. These are tags from the HTML. I've always been of the opinion that it was good practice to make my logo a background image inside a h1 tag using CSS. I make the h1 tag a link back to the home page and hide the header text with something like {text-indent: -9999px}, leaving a lovely semantic HTML header. Here's a link to my site if you want a look:

Facebook automatically created a fan page which I can't edit

大憨熊 提交于 2019-12-12 00:18:37
问题 We launched a website which uses the Facebook open graph and like buttons to share content on Facebook etc. One of the open graph tags includes information about the Facebook IDs of the website owners ( <meta property="fb:admins" content="..."/> ), so these were included. I am one of the admins, and when I liked the web page myself Facebook automatically created a fan page. This is OK, and we are going to keep the fan page, but I can't seem to edit it. Is there any way to edit a Facebook page

Adding new social network to socmed widget through PHP — Wrong icon showing

懵懂的女人 提交于 2019-12-11 13:54:14
问题 Let me just apologize up front for my ignorance; I've never really seen PHP up-close and am really new to the Wordpress world... I added a Pinterest option to a social media widget using this tutorial. The addition worked, giving me a new Pinterest option in the widget. The widget says 'Pinterest' on the dashboard side and links to Pinterest perfectly on the front end. The problem is the site is displaying a Google+ icon instead of a Pinterest icon. What's even weirder is that when you

Cannot get Social Media Share Buttons to Line Up in inline list

别说谁变了你拦得住时间么 提交于 2019-12-10 10:07:58
问题 For the life of me I cannot get these social media share buttons to line-up with my inline list. I nearly had it with a vertical-align: top; on the <li> but Chrome didn't like that. Page can be seen here: http://206.72.114.49/sharelinkstest.htm Full HTML/CSS below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> .share-links {

Facebook share not showing image from open graph metatags

时间秒杀一切 提交于 2019-12-09 14:32:49
问题 I'm trying to integrate the Facebook share button to my employer's site, the title, url, description/intro are all displaying correctly, however no image is being attached. When the share dialog opens, an image container flickers and then disappears as though facebook is trying to process the image(s) but fails. I'm using og:image and a link relation to try and specify the image to use for shared links: <meta property="og:image" content="/images/logo_white_150px.png" /> <link rel="image_src"

Uploading android file by name from sd card

旧城冷巷雨未停 提交于 2019-12-08 02:41:29
问题 In a previous question (Take screensot and save android) I found out how to save a file to the sd card of an android device and it works properly. Now I need to know how to find the file programatically by name, and then upload the file to facebook or twitter. Currently my biggest issue is just to find the file. 回答1: To get path of file from gallery String filepath; // filepath contains path of the file public void getImage() { // To open up a gallery browser Intent intent = new Intent();

Social Media sharing Buttons in Ruby on Rails

徘徊边缘 提交于 2019-12-07 15:58:36
I'm trying to add custom social media sharing buttons in a blog app in Ruby on Rails. It is important for me that a pop-up window will show for sharing the "post" meaning I want to include Javascript. Unfortunately this code does not work: <!-- Twitter --> <a oneclick="javascript:window.open('http://twitter.com/share?text=<%= @post.title %> by Martin Bortowski - &url=<%= url_for([@post, {only_path: false}]) %>', '_blank', 'width=800, height=500, top=200, left=300');void(0);"><i class="fa fa-twitter"></i></a> <!-- Facebook --> <a oneclick="javascript:window.open('http://facebook.com/sharer.php

(#803) Some of the aliases you requested do not exist: {education-experience-id} Android

不想你离开。 提交于 2019-12-07 07:01:33
问题 I am trying to get education detail and work description of user from facebook. I login successfully and get Access token. But I am unable to get details I want Code I am using for it :- public void getUserExpandEducation() { new GraphRequest( AccessToken.getCurrentAccessToken(), "/{education-experience-id}", //"/{user_education_history}",// null, HttpMethod.GET, new GraphRequest.Callback() { public void onCompleted(GraphResponse response) { Log.d("fb response",response.toString()); } } )

Is it possible to build an application for the LinkedIn platform?

烂漫一生 提交于 2019-12-07 06:24:24
问题 Do you know if it's possible to build an application for the LinkedIn platform? 回答1: While LinkedIn has promised a public API for a very long time now, they have yet to deliver. No, there is no public LinkedIn API yet. IMO, their widgets (which there are only two of at the moment, which are very limited) don't count. They say that they are open to being contacted with specific uses for their API and they may give access to parts as needed - but that is if they accept your ideas for

Uploading android file by name from sd card

二次信任 提交于 2019-12-06 11:47:36
In a previous question ( Take screensot and save android ) I found out how to save a file to the sd card of an android device and it works properly. Now I need to know how to find the file programatically by name, and then upload the file to facebook or twitter. Currently my biggest issue is just to find the file. Raghunandan To get path of file from gallery String filepath; // filepath contains path of the file public void getImage() { // To open up a gallery browser Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); startActivityForResult