Collection preview image on Opensea not refreshing - metadata

How can I refresh collection preview image on Opensea?
I have found some solutions to refresh metadata on an item/token, but not on collection image.
Please help.

I also stumbled upon this issue a couple times. It does not seem OpenSea has a solution for the whole collection refresh. They only have API to refresh individual tokens (that can be triggered manually on the token page on OpenSea).
But then I found this neat tool (not mine) that basically goes through each token and requests metadata refresh one-by-one programmatically https://www.nftrefreshmetadata.com. Just 1 click - and it worked like a charm for a 3k collection, although takes some time (there is a progress bar as well)

Related

How Do I Get OneNote Pages to Appear After REST API Create?

I am creating pages in OneNote using OneNote's REST API. For the most part, it works well. However, some pages never show up. According to their HTTP response code (201), they all POST correctly, but no matter when or how many times I run the program, some pages (always the same ones) never appear. Sometimes, if I wait a very long time (e.g. days), a page will finally show up, but usually it disappears again after a while.
Example: if I were to upload 10 pages, I might have 5 that appear in OneNote Online right away, 3 that appear after ten minutes, and 2 that never show up at all (no matter how much I sync), even though they all post to the same place, have unique names, and all return response 201.
If I send a GET request using the ids of the missing pages and include FavorDataRecency: true in the header, the API returns that no such page(s) exist. However, if I leave that header off, then the API returns that they exist as well as their information.
How can I get them to show up?
Update Note: If I delete the sections I'm uploading to and recreate them, then run my program, all the pages POST fine. I have yet to determine if they'll continue to post fine in subsequent runs. For now, it seems to me like something in the way OneNote indexes or caches the pages might be part of the problem. Thoughts?
The symptoms described above:
POST succeeded
Pages do not show up in GET calls
Pages do not show up in OneNote
Imply that your pages did not actually succeed to be created - here are my asks/suggestions:
Ask: Send us the value of the X-CorrelationId header on one of the POST page responses where this symptoms occur so we can debug this.
Suggestion as improvement/temporary workaround: You can retry the POST calls after seeing the pages don't appear.

google ad-sense is not populating the ads in my website

I am trying to populate google ad-sense into my client website and i am using
https://www.npmjs.com/package/angular-google-adsense
With view page source on msbionlineclasses.com you can see on the index page the directive is been called.
Still i am getting a blank item. Let me know the reason?
Update-1
I am getting as AD:1
Usually google starts analysing your website traffic patterns and content type once your adsense code goes live i.e. after implementing it into your HTML page.
For few days (usually 1-2 days), it will only show the empty placeholders, which is the case with you right now I guess.
Wait for 2 days and you will be able to see the results automatically.
P.S. - the usual practice I follow is to have only one adsense implementation in the footer where empty placeholder will not bother the visitors as well as the look of the page. Once it is working, implement as desired.

Open Graph Aggregation not previewing or posting

We have created a application that has a few open graph actions available for it.
One of our actions have been approved,the action posts perfectly and aggregating on the user timeline is great as well.
Our 2nd action has been approved and the action posts perfectly, but the aggregation is no where to be found.
The confusion comes in because we have a staging/sandbox app that we use to test out features before releasing them, and the EXACT same settings in the OpenGraph app setting panel, produce the desired results on the staging/sandbox app but do not work for the production version.
Seeing as the aggregation settings page was identical we checked the sample data popup.
The sandbox app correctly previews the aggregation,
while the production app show the default image that displays before you put any sample actions/objects in.
The aggregation is using a filter but I have double checked that the filter is correct. I have also removed the filter to see if I had somehow made a mistake.
Also, this is not a problem with the publishing of the action, as the action is still appearing on the newsfeed, timeline and other areas where we'd assume to see it.
Has anyone had this problem before?

Facebook: Updating page tabs through Javascript SDK

I'm trying to update my tab on a series of pages on facebook. Due to the volume of pages I'm making batch calls to keep from being rate limited. The batch calls work fine.
That being said, I'm trying to Update a page tab by making the call as stated here. I have the adding functionality working fine, and it's operating as it should. I use the same method of getting and using tokens, and I know moreso that it's not an issue as I have offline access so they don't expire (I get them every page load, but in reality could just store them and not worry about it).
Both calls use the same page ID, app ID, and access token and the call is good. The Error I receive is that the tab does not exist on the page, yet when I go to https://graph.facebook.com/PAGE_ID/tabs/APP_ID my tab is there showing itself as on the page. When I post to that I get the error it's not there.
My question is this: Has anyone gotten this working yet and if so what did your call look like and am I missing something?
I would post code, but it's incredibly long and intertwined in my program so it would be difficult to extract it.
There's a slight issue with the page tabs API at the moment that means in some situations you need to prepend your app id in the call with app_ so /PAGE_ID/tabs/app_APP_ID, give this a try and see if it works.

Facebook app: Random quotes not refreshing on each page load

I have a Facebook app written in php that will display random quotes on your profile.
The box does not appear to update, it looks like it did when it was originally added.
I want to update the profile boxes on each page load (refresh), and not by a user action like clicking a link.
Any idea what is the problem and how to solve it?
This is how I did it for The Office Quotes application:
Put the random quote inside an image (many options to do this in PHP, I used the GD and Image Functions at http://us2.php.net/manual/en/ref.image.php to create a JPG containing the quote).
Accessing this dynamic image in a browser gives you a different random quote each time you refresh.
On the Facebook profile box or tab, simply link this image.
However, Facebook caches the image the first time it's loaded, so it never updates!
To force Facebook to update, you must update Facebook's image cache for the image's URL using the API function fbml.refreshImgSrc which is now accessed via the URL http://api.facebook.com/methods/fbml.refreshImgSrc and requires the access_token parameter like all other API requests. There was an announcement some time ago that this function was being deprecated, but the decision was reversed!
Setup the cache refresh code to run regularly. You can do this on a scheduled task (i.e. a cron job) or on each pageview in the application, or any other way you can think of that will cause the method to be run with the relative frequency the image will be requested by a user.
I also linked the image in the profile to a page in the app that would continually reload a new random image. Users generally would click to this page (which would refresh the image cache on each load) and they get the illusion that the image updates constantly.
Another illusion that I like even better is to add a 'Refresh' link in the profile box/tab that links to a script that refreshes the image cache and immediately returns to the user's profile, so that it actually appears to just be refreshing the profile box/tab.
Enjoy!
Profile content is cached by Facebook and does not connect to your server on every page load. This has always worked like this. No javascript runs on load/automatically, so you can't have a new quote displayed on page load.
What you can do is put a bunch of quotes in the profile content and us the fb:random tag to display a random quote on page load from the random option list. Periodically you can run a script to update the set of quotes in the user profile. If quotes are not unique to each user, you should use fb:ref handles so you just have to update the handle content, not each user's profile. Just put the ref handle in the user's profile.
I'm confused. Profiles boxes are all but gone. You shouldn't be developing anything for a profile box right now - it's just gonna disappear any day now anyway.
And even when profile boxes were still a suggested integration point, you couldn't update them in the way you are wanting to.