Facebook og:image - ios

So i have a problem with the facebook og:image.
site: http://images.vallo-app.com/4db279b31df280b/
if people use this link to show their image, its no problem, facebook loads the og:image
But it is used in an iPhone App, so people make a picture and get a shortened url of bit.ly back and then they can post it.
So if you post it, facebook juts doesn't show the preview of the image, but if you post that shortened bit.ly link on facebook.com in the statusupdate it does. Someone know what the problem is?

You have to post an image status update, instead of a normal status update!

Related

"#sessions" does not exist

I am using https://github.com/arunagw/omniauth-twitter
Apparently this issue only happens on the iPhone and iPad.
Here's how to replicate the issue. I tweeted on Twitter. The tweet contains a link that points to by web app: https://www.foobar.com/1 (ps This is a dummy link. You can use your own link).
Make sure the controller/method handling the link (https://www.foobar.com/1) has the following line redirect_to "/auth/twitter?use_authorize=true"
On the iPhone or iPad, open up the Twitter App. Search for the tweet. Tap on the link (https://www.foobar.com/1).
The page should redirect you back to /auth/twitter?use_authorize=true. Everything works fine so far. The user is sent to Twitter's login portal/form. However, after the user fills out the form and submits it. Instead, of being redirected back to our web app, he is sent to Twitter where it says:
"#sessions" does not exist
Anyone else experience this before? At this point, I don't know if this is a Twitter API issue or the way I am supposed to redirect with the gem.
The issue also seems apparent with other people:
https://twitter.com/Starbucks/status/482656278410723328
https://twitter.com/CocaCola/status/483420891393826816
https://twitter.com/RayaVlogs/status/492528237629943808
https://twitter.com/MattNavarraUK/status/494915033634447360
https://twitter.com/WillHillBet/status/497021431021330433
Update: Searching #sessions on Twitter, returns several people experiencing the same issue. It may be related to Twitter's API, more than anything. Apparently, its also happening with their widgets. Anyone think of a workaround?

How to tag a Facebook page using UIActivityViewController

I am using UIActivityViewController to post to Facebook in iOS 6 and have that working fine. However, when I try to tag a Facebook page by including #pagename in the message, the raw text '#pagename' is posted and is not linked to the page. I am able to do this directly on Facebooks website so I know that the page name is correct. Is this possible to do?
After a lot of searching, I have determined that this is not possible with the current UIActivityViewController API. Even if it did work, you need to 'like' a page before you can tag it, so this will not work for my situation.

Twitter: How to get "View photo" on tweet

We just included a pure HTML link for the tweet functionality instead of the twitter button. Now we want to enable the user to tweet an image together with his tweet.
When you manually tweet an url from instagram or flickrm, twitter automatically adds the "View photo" function below the tweet? How did I get that on my page?
I already found out, that both instagram and flickr use og properties. My guess was, that I have to add those properties to my page. But even adding those properties does not trigger the "View photo" link on twitter.
Is there some documentation about how to get it working? I didn't found anything in the API docs.
The View Photo link on Twitter is not related to OpenGraph. The photo provides are approved by Twitter so it automatically adds the View Photo link to tweets that include one of those services. If you want the View Photo link in your tweets, consider uploading photos using the TwitPic API or similar.

Twitter, Facebook - is there any way to get the original images of avatars?

Through RoR gem OmniAuth is possible to get an informations about the users, who log-in to the application through their Twitter or Facebook account. Both of these social sites in their API offers among other also the avatar, what's great.
The worse thing is, that the size of image is 50x50px (I know, avatar).
Exist any way, how to get the original image, from that was created avatar? (The reason why I want it is, that I would like to display a photo of user in the bigger size)
Two options:
GET /${USER_ID}/picture?type=large; the response is a 302 redirect so you can obtain the url from the response header. See the docs for the User object for other values for type. (Contrary to the docs it looks like an access token is required.) This doesn't get you a particularly large image.
GET /${USER_ID}/albums and find the album with type=profile. GET the photos in this album with /${ALBUM_ID}/photos: I think the first photo is the current avatar (it is for me), and more sizes are available than with the first method.
You may try to get from gravatar[1] with email.
http://en.gravatar.com/site/implement

Facebook share and like are grabbing the title from the home page

Share and like are working perfectly on my other PHP site, but on my new Rails site, it is just posting the home page url and the title from the home page. It's also not grabbing any images when posting through FB share.
I tried everything - setting the og:title meta property, changing the href in the url param for share.php to facebook, etc.
What am I missing? Has anyone encountered this problem on RoR?
Thanks,
Bella
I think I know why. The page can't be views without a login. FB can't therefore see the page and is redirected to the log in page.

Resources