facebook opengraph不更新等问题 [英] facebook opengraph not updating and other questions

查看:132
本文介绍了facebook opengraph不更新等问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Facebook的OpenGraph有问题。我试图在我的应用程序中实现时间轴功能。但是,当尝试更改我的元标签以更改对象的tile时,更改不会被反映。当我将我的URL传递到调试工具的Facebook提供时,它显示我的OG对象仍在使用旧的数据,而不是新的数据。然而,奇怪的是原始属性显示我的变化。如何让Facebook更新OG对象?



我遇到的另一个问题是,当我对我的操作进行更改时,Facebook没有正确更新。当我重新打开动作时,它仍然引用我的旧对象标题。例如,如果我的一个电影对象的标题是sci fi,并且在see操作中引用sci fi,即使我尝试将其更改为某些东西,它仍然会引用sci fi其他。我会保存它,但是当我重新打开那些仍然存在的旧设置的动作。



我也想知道动态生成对象。例如,如果我有一个允许人们列出他们观看的电影的应用程序,我可以动态地生成OG对象,以便用户可以在其时间轴上显示看到$电影,无论它是什么电影?我想知道的原因是因为现在我不确定我是否需要使用meta标签后保持页面一次。



对于单词块而言,如果我的问题对您来说似乎是基本的。我在这方面几乎是一个新手。

解决方案

将你的URL放入对象调试器应该强制Facebook抓取它。你有指向旧网址的 og:url



我不明白你的第二个问题。 Facebook没有抓住你的页面吗?它应该每7天重新检索一次,或者您可以使用scrape API强制执行。



对于您的第三个问题,是的,您可以这样做。只要使用不同的 og:url 为每部电影制作不同的网址。对于好的SEO,你想做 example.com/movie/1234/The-Matrix


I'm having a problem using Facebook's OpenGraph. I'm attempting to implement timeline features into my application. However, when try changing my meta tags to change the tile of my object, the changes are not reflected. When I pass my url into the debugger tool facebook offers, it displays that my OG object is still using the old data, as opposed to the new data. However, the weird thing is the raw properties show my changes. How do I get facebook to update the OG object?

Another problem I'm having is that when I make changes to my actions, facebook isn't properly updating it. When I reopen the action, it's still referencing my old object titles. For example, if a title of one of my movie objects was "sci fi," and I reference "sci fi" in the action "see," it will still be referencing "sci fi" even if I try to change it to something else. I would save and it, but when I reopened the action the old settings where still there.

I was also wondering about dynamic generation of objects. For example, if I had an app that allowed people to list movies they've watched, could I dynamically generate the OG object so that users can have the "see a $movie" show up in their timeline no matter what movie it was? The reason I'm wondering is because right now I'm unsure whether or not I need to keep the page with the meta tags up after I use it once.

Sorry for the word blocks and if my questions seem basic to you. I'm pretty much a newbie at this.

解决方案

Putting your URL into the Object Debugger should force Facebook to crawl it. Do you have your og:url pointing to the old URL?

I don't understand your second question. Is Facebook not crawling your page? It should recrawl every 7 days or you can force it with the scrape API.

For your third question, yes, you can do that. Just make a different URL for each movie with a different og:url. For good SEO you want to do example.com/movie/1234/The-Matrix.

这篇关于facebook opengraph不更新等问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆