Facebook SDK title, description, caption and image fields are deprecated - facebook-android-sdk

Upgrading the Android SDK from 4.21.1 to 4.22.0
Facebook SDK
The title, description, caption and image field of FBSDKShareLinkContent have been deprecated. Please take appropriate action to remove usage of them.
How to set Content title and description now? Can anyone suggest something to make it work.
Thanks in advance!

You can't, the Android-Sharing facebook documentation says:
When you implement sharing, your app should not pre-fill any content
to be shared. This is inconsistent with Facebook Platform Policy, see
Facebook Platform Policy, 2.3.
From Facebook Platform Policy
Don't prefill captions, comments, messages, or the user message parameter of posts with content a person or business didn’t create,
even if the person can edit or remove the content before sharing. You
may use our Share Dialogs to prefill a single hashtag in a post, but
don't prefill any content a person or business didn't create via the
API.

Answering my own question.
What I did is I just made an html page and passed the values in meta tag for the attributes "content", "description" and "title" dynamically and gave the url of html page in shareLinkContent > SetContentUrl method.
So when shared it automatically picked the values from that html page.
This Worked in my case.
Happy Coding..!

Related

Rich Snippet errors "This is not verified publisher markup", and "Missing required field 'updates'/'author'"

When I test my website on Google SDTT it will show:
This is not a verified publisher markup.
Error: Missing required field "updated".
Error: Missing required hCard "author".
How can I solve it? And is this affecting my SEO rating?
You will need to integrate your personal Plus profile with website and vice versa.
Follow this:
Create a link to your Google+ profile from your webpage, like this:
Google
Replace [profile_url] with the your Google+ profile URL, like this:
Google
Your link must contain the ?rel=author parameter. If it's missing, Google won't be able to associate your content with your Google+ profile.
Add a reciprocal link back from your profile to the site(s) you just updated.
Edit the Contributor To section.
In the dialog that appears, click Add custom link, and then enter the website URL.
If you want, click the drop-down list to specify who can see the link.
Click Save.
More here: https://support.google.com/webmasters/answer/1408986?expand=option2
UPDATE:
In a very latest update issued today only, Google has confirmed that they are completely removing authorship feature from Google search. Pls follow updates here: https://plus.google.com/u/0/+JohnMueller/posts/HZf3KDP1Dm8
You are using the hEntry Microformat. This Microformat requires three classes:
entry-title
updated
author
You are missing updated and author.
(See my answer to a question with a similar problem.)
These errors most likely won’t affect your ranking, Google might just consider not showing a Rich Snippet.

How to block a user from my instagram webfeed?

I have a joomla website, and use a module to get a feed from Instagram based on a tag (#). But i have a user that keeps taggin with this tag. Is it possible to blog the user so that his images do not show on my web page even if he uses the tag that i use for my feed? I have tryed to block the user in Instagram, but his images still comes up in my feed..
You will have to write your own custom module to get feed and filter manually by blocking the user_id
You might have to delete your comments or remove tags because they will not automatically be removed even after blocking that user.
source: http://viralkick.com/blog/block-someone-instagram/

Google+ Author Snippet Photo not showing in search

I have set up my google+ account with everything linked to my website, my website linking to Google+ as per instructions, but photo is not showing in search results, even though the google testing says all is fine.
My site is www.mikegeorgiades.com (Google+ link code in homepage).
My Google+ page is https://plus.google.com/u/0/b/105269586899946171489/+Mikegeorgiades-guitarist-for-hire
Is there any reason why the test would appear OK but not for real? Is there a lag? Thanks!
that can have multiple reasons:
On their help pages the Google guys wrote that "Your Google+ profile picture should be a good, recognisable head-shot". When you browse the web via Google’s search engine you probably see a lot of images which do not show “good, recognisable head-shots”. I think it belongs to Google whether the picture shows up or not.
Google Authorship does not work when you link to a Google+ business page instead of a real profile page.
You did not add a link back from your site to your Google+ page (see this help page (Option 2)).
Your author info is hidden to the public. Google don't like hidden stuff. Make sure that your reciprocal backlink is not hidden via CSS.
Very obvious: Your Google+ profile has no profile picture.
Your site is cached and the backlink is not yet integrated into the source code. Try to clear your cache.
Your backlink is missing the rel="author" attribute.
Your backlink is missing the ?rel=author attribute in the URL (ex. href="http://plus.google.com/u/0/123456789/?rel=author")
Check that your E-Mail Address (if added to your Google+ profile) is on the same domain as your content (read more about it here: https://support.google.com/webmasters/answer/1408986)
Make sure that the byline of your content includes the same name as in your Google+ profile. For example: When your Google+ Profile is "John Doe" your byline has to be "By John Doe" and not "By Doe John" or anything else.
You have not submitted your E-Mail address via this page: http://plus.google.com/authorship
Your Google+ profile is not visible to the public.
Your Google+ profile has been excluded to the search (so no one can find you via Google`s search engine).
There are multiple authors on one page. Google always uses only the first author that has been mentioned on a page.
You did not add your website to "Contributor To" section (click here to do that now: http://plus.google.com/me/about/edit/co)
The "Contributor To" section is not visible to the public.
The Rich Snippet Testing Tool throws errors (even if they are not related to authorship)
Last but not least: Google just does not want to display your profile picture
Update 1: More reasons can be:
Some users said that it also won't work when your website was not confirmed as yours in Google Webmaster Tools.
Some said that they got it to work after adding the same URL in Google+ as in Google Webmaster tools (Within Google webmaster tools you can setup the preferred domain (www or non-www).)
I'm not working at Google but I think when the Rich Snippet Testing Tool shows your picture it should appear in search results after some days.
Update 2: One more:
You have deactivated the option that noone can find your picture in Googles search results. To solve this go to https://www.google.com/settings/plus and scroll down to the "Profile" section. Activate the checkbox beside "Help others discover my profile in search results." (in German this is: "Andere sollen mein Profil in Suchergebnissen finden können").
Update 3: One more:
John Mueller (Webmaster Trends Analyst # Google) announced that in the near future Google will not longer show the profile picture in search results. Instead it will show up on Google News only. However the name will still show up on search results pages. Preview image can be found here: https://support.google.com/webmasters/answer/1408986
I recently experienced my photo disappearing from the search results and I, too, verified that everything else was correct under the structured data testing tool. At first my photo snippet was showing in the SERP but then it vanished. I was also trying different profile photos. I had one with dimensions of 400x400 pixels and another one with dimensions of 256x256 pixels. I didn't fully verify it, but Google apparently didn't like my 400x400 photo. Google wants a clear profile photo of your face. Perhaps some algorithm found my larger photo too grainy or something along those lines. Changing my photo back to the 256x256 version caused my photo to reappear in the search results! I'd suggest trying different dimensions, different photo formats, perhaps even changing the color profile. The search results were updated fairly quickly after I uploaded a working photo. Seems like I saw results in under an hour, YMMV.
You can refer to the photo I used, along with my Contributor to links, at my Google+ page at https://plus.google.com/108810746834291116055. The page that I have my authorship set at is http://blog.ikiapps.com using rel=author.
Update on 2014-Apr-27:
I can confirm my advice worked for me again after completely changing my Google profile to another account and losing the visibility of my authorship associated photo in search results for a brief period of time. It is now restored after following what I posted here.

Google+ badge on websites

I am trying to put a Google+ badge on my recently created websites at sites.google.com. When I copy the code and paste it into the HTML box actually nothing happens.
What am I doing wrong?
You can use to insert a Google+ Badge into your Google Sites pages using a custom gadget:
Get your Google+ profile ID, which you can get from the URL of your profile. The ID would be 123456789012345678901 for this URL: https://plus.google.com/123456789012345678901/ or would be +LarryPage for this URL: https://plus.google.com/+LarryPage/
Edit the page that you want to add the badge
Choose Insert-> ...More gadgets...
Search for G+ Badge.
Paste your profile ID into the G+ ID field.
Configure additional options as necessary for your page. You might need to adjust dimensions of the gadget container to get the badge to work well in your site.
Gadgets have limitations, this might not work perfectly but its probably the best way to get a badge onto your page.
There is a configuration tool for the Google+ Badge that you can find at https://developers.google.com/+/web/badge/.
The key points are that you need to add the HTML as a widget and include the JavaScript tag--which is the same JavaScript that loads any of our Google+ attributes.
I also made a 3 minute video explaining these steps last year, which you can view at http://www.youtube.com/watch?v=wLG4IIIPgnc.

The ted.com twitter widget?

On all the videos on ted, there is a widget thing with an inputfield that says tweet this (we'll add the url later) you put stuff in a box, it get's a tiny-url and get's pushed to facebook.
I'm trying to figure out what it's called. Does anyone have a clue?
example:
http://www.ted.com/talks/dan_phillips_creative_houses_from_reclaimed_stuff.html
Looks like they are using the service provided by AddThis. Looking at their site, they offer some stock sharing links, but also have an API for creating more advanced ones.